@etherisc/gif-next 0.0.2-ed4dd55 → 0.0.2-edc2c3a-751
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +427 -9
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1293 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
- package/artifacts/contracts/{registry/IRegistry.sol/IOwnable.json → authorization/AccessAdmin.sol/IAccessManagedChecker.json} +4 -4
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +414 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/{instance/access → authorization}/IAccess.sol/IAccess.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1060 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
- package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
- package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1292 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +986 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1494 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +862 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +885 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +984 -0
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1441 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1991 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1429 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +470 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1145 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1605 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +502 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2293 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +470 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +808 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +342 -514
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +709 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +475 -580
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1684 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +574 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2286 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1018 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +746 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3668 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +810 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +129 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IBundle.sol/IBundle.json} +2 -2
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IComponents.sol/IComponents.json} +2 -2
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.json +10 -0
- package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
- package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +929 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +744 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +709 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +845 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +990 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +766 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1222 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +502 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1360 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +822 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +922 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +877 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1285 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.json +997 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1619 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +794 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +806 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1116 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1439 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +858 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +573 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +942 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +944 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +578 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +973 -0
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +429 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1313 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +810 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +923 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1074 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +638 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +718 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +295 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +1030 -123
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1019 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +39 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +1535 -161
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1899 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1262 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +737 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/shared/Component.sol/Component.json +677 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1908 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +850 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +474 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +488 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
- package/artifacts/contracts/{instance/component/IComponent.sol/IInstanceLinked.json → shared/ContractLib.sol/IInstanceAdminHelper.json} +5 -5
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
- package/artifacts/contracts/{instance/access/IAccess.sol/IAccessCheckRole.json → shared/ContractLib.sol/ITargetHelper.json} +4 -9
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +602 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1467 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +679 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +510 -0
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +146 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +147 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +210 -0
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegistryLinked.sol}/IRegistryLinked.json +5 -19
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/shared/IService.sol/IService.json +375 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +767 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +209 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +322 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/shared/Service.sol/Service.json +442 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +822 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1417 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1043 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1816 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +780 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1265 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +734 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +180 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
- package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
- package/contracts/authorization/AccessAdmin.sol +615 -0
- package/contracts/authorization/AccessManagerCloneable.sol +16 -0
- package/contracts/authorization/Authorization.sol +289 -0
- package/contracts/authorization/IAccess.sol +49 -0
- package/contracts/authorization/IAccessAdmin.sol +137 -0
- package/contracts/authorization/IAuthorization.sol +60 -0
- package/contracts/authorization/IServiceAuthorization.sol +40 -0
- package/contracts/authorization/ReleaseAccessManager.sol +38 -0
- package/contracts/authorization/ServiceAuthorization.sol +106 -0
- package/contracts/distribution/BasicDistribution.sol +139 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
- package/contracts/distribution/Distribution.sol +287 -0
- package/contracts/distribution/DistributionService.sol +354 -0
- package/contracts/distribution/DistributionServiceManager.sol +39 -0
- package/contracts/distribution/IDistributionComponent.sol +52 -0
- package/contracts/distribution/IDistributionService.sol +100 -0
- package/contracts/examples/fire/DamageLevel.sol +59 -0
- package/contracts/examples/fire/FirePool.sol +90 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
- package/contracts/examples/fire/FireProduct.sol +436 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
- package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +107 -0
- package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +352 -0
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +130 -0
- package/contracts/instance/IInstance.sol +66 -15
- package/contracts/instance/IInstanceService.sol +70 -0
- package/contracts/instance/Instance.sol +221 -45
- package/contracts/instance/InstanceAdmin.sol +288 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +218 -0
- package/contracts/instance/InstanceReader.sol +581 -0
- package/contracts/instance/InstanceService.sol +392 -0
- package/contracts/instance/InstanceServiceManager.sol +39 -0
- package/contracts/instance/InstanceStore.sol +287 -0
- package/contracts/instance/RiskSet.sol +119 -0
- package/contracts/instance/base/BalanceStore.sol +123 -0
- package/contracts/instance/base/Cloneable.sol +28 -0
- package/contracts/instance/base/ObjectCounter.sol +20 -0
- package/contracts/instance/base/ObjectLifecycle.sol +111 -0
- package/contracts/instance/base/ObjectSet.sol +78 -0
- package/contracts/instance/module/IAccess.sol +46 -0
- package/contracts/instance/module/IBundle.sol +20 -0
- package/contracts/instance/module/IComponents.sol +50 -0
- package/contracts/instance/module/IDistribution.sol +41 -0
- package/contracts/instance/module/IPolicy.sol +85 -0
- package/contracts/instance/module/IRisk.sol +12 -0
- package/contracts/mock/Dip.sol +26 -0
- package/contracts/oracle/BasicOracle.sol +47 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
- package/contracts/oracle/IOracle.sol +36 -0
- package/contracts/oracle/IOracleComponent.sol +33 -0
- package/contracts/oracle/IOracleService.sol +66 -0
- package/contracts/oracle/Oracle.sol +156 -0
- package/contracts/oracle/OracleService.sol +309 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +175 -0
- package/contracts/pool/BasicPoolAuthorization.sol +68 -0
- package/contracts/pool/BundleService.sol +423 -0
- package/contracts/pool/BundleServiceManager.sol +39 -0
- package/contracts/pool/IBundleService.sol +122 -0
- package/contracts/pool/IPoolComponent.sol +62 -0
- package/contracts/pool/IPoolService.sol +153 -0
- package/contracts/pool/Pool.sol +345 -0
- package/contracts/pool/PoolService.sol +612 -0
- package/contracts/pool/PoolServiceManager.sol +39 -0
- package/contracts/product/ApplicationService.sol +259 -0
- package/contracts/product/ApplicationServiceManager.sol +38 -0
- package/contracts/product/BasicProduct.sol +49 -0
- package/contracts/product/BasicProductAuthorization.sol +41 -0
- package/contracts/product/ClaimService.sol +614 -0
- package/contracts/product/ClaimServiceManager.sol +38 -0
- package/contracts/product/IApplicationService.sol +66 -0
- package/contracts/product/IClaimService.sol +123 -0
- package/contracts/product/IPolicyService.sol +90 -0
- package/contracts/product/IPricingService.sol +39 -0
- package/contracts/product/IProductComponent.sol +59 -0
- package/contracts/product/IRiskService.sol +33 -0
- package/contracts/product/PolicyService.sol +733 -0
- package/contracts/product/PolicyServiceManager.sol +39 -0
- package/contracts/product/PricingService.sol +300 -0
- package/contracts/product/PricingServiceManager.sol +39 -0
- package/contracts/product/Product.sol +427 -0
- package/contracts/product/RiskService.sol +107 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +176 -100
- package/contracts/registry/IRegistry.sol +156 -51
- package/contracts/registry/IRegistryService.sol +62 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +660 -111
- package/contracts/registry/RegistryAdmin.sol +457 -0
- package/contracts/registry/RegistryService.sol +241 -0
- package/contracts/registry/RegistryServiceManager.sol +53 -0
- package/contracts/registry/ReleaseLifecycle.sol +30 -0
- package/contracts/registry/ReleaseRegistry.sol +486 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +176 -0
- package/contracts/registry/TokenRegistry.sol +315 -0
- package/contracts/shared/Component.sol +219 -0
- package/contracts/shared/ComponentService.sol +869 -0
- package/contracts/shared/ComponentServiceManager.sol +38 -0
- package/contracts/shared/ComponentVerifyingService.sol +128 -0
- package/contracts/shared/ContractLib.sol +224 -0
- package/contracts/shared/IComponent.sol +62 -0
- package/contracts/shared/IComponentService.sol +134 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
- package/contracts/shared/IKeyValueStore.sol +54 -0
- package/contracts/shared/ILifecycle.sol +31 -0
- package/contracts/shared/INftOwnable.sol +25 -0
- package/contracts/shared/IPolicyHolder.sol +35 -0
- package/contracts/shared/IRegisterable.sol +26 -0
- package/contracts/shared/IRegistryLinked.sol +11 -0
- package/contracts/shared/IService.sol +25 -0
- package/contracts/shared/InitializableERC165.sol +27 -0
- package/contracts/shared/InstanceLinkedComponent.sol +197 -0
- package/contracts/shared/KeyValueStore.sol +131 -0
- package/contracts/shared/Lifecycle.sol +88 -0
- package/contracts/shared/NftIdSet.sol +65 -0
- package/contracts/shared/NftOwnable.sol +127 -0
- package/contracts/shared/PolicyHolder.sol +62 -0
- package/contracts/shared/Registerable.sol +83 -0
- package/contracts/shared/RegistryLinked.sol +38 -0
- package/contracts/shared/Service.sol +84 -0
- package/contracts/shared/TokenHandler.sol +389 -0
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +173 -0
- package/contracts/staking/IStakingService.sol +157 -0
- package/contracts/staking/StakeManagerLib.sol +224 -0
- package/contracts/staking/Staking.sol +515 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +52 -0
- package/contracts/staking/StakingReader.sol +190 -0
- package/contracts/staking/StakingService.sol +440 -0
- package/contracts/staking/StakingServiceManager.sol +44 -0
- package/contracts/staking/StakingStore.sol +605 -0
- package/contracts/staking/TargetManagerLib.sol +211 -0
- package/contracts/type/AddressSet.sol +58 -0
- package/contracts/type/Amount.sol +150 -0
- package/contracts/type/Blocknumber.sol +142 -0
- package/contracts/type/ClaimId.sol +80 -0
- package/contracts/type/DistributorType.sol +55 -0
- package/contracts/type/Fee.sol +66 -0
- package/contracts/type/Key32.sol +50 -0
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/type/NftId.sol +85 -0
- package/contracts/type/NftIdSet.sol +62 -0
- package/contracts/type/ObjectType.sol +278 -0
- package/contracts/type/PayoutId.sol +82 -0
- package/contracts/type/Referral.sol +90 -0
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/type/RiskId.sol +69 -0
- package/contracts/type/RoleId.sol +162 -0
- package/contracts/type/Seconds.sol +101 -0
- package/contracts/type/Selector.sol +102 -0
- package/contracts/type/StateId.sol +149 -0
- package/contracts/type/String.sol +53 -0
- package/contracts/type/Timestamp.sol +146 -0
- package/contracts/type/UFixed.sol +245 -0
- package/contracts/type/Version.sol +110 -0
- package/contracts/upgradeability/IVersionable.sol +53 -0
- package/contracts/upgradeability/ProxyManager.sol +232 -0
- package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +14 -0
- package/contracts/upgradeability/Versionable.sol +59 -0
- package/package.json +26 -7
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/Component.json +0 -179
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -179
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -192
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
- package/artifacts/contracts/components/Pool.sol/Pool.json +0 -195
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.json +0 -213
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -327
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -105
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -179
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -245
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -231
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -231
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -149
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -162
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -114
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -125
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -10
- package/contracts/components/Component.sol +0 -62
- package/contracts/components/IPool.sol +0 -9
- package/contracts/components/IProduct.sol +0 -11
- package/contracts/components/Pool.sol +0 -29
- package/contracts/components/Product.sol +0 -65
- package/contracts/experiment/inheritance/A.sol +0 -56
- package/contracts/experiment/inheritance/B.sol +0 -23
- package/contracts/experiment/inheritance/C.sol +0 -28
- package/contracts/experiment/inheritance/IA.sol +0 -18
- package/contracts/experiment/inheritance/IB.sol +0 -9
- package/contracts/experiment/inheritance/IC.sol +0 -11
- package/contracts/experiment/types/TypeA.sol +0 -42
- package/contracts/experiment/types/TypeB.sol +0 -24
- package/contracts/instance/access/Access.sol +0 -218
- package/contracts/instance/access/IAccess.sol +0 -83
- package/contracts/instance/component/ComponentModule.sol +0 -259
- package/contracts/instance/component/IComponent.sol +0 -94
- package/contracts/instance/policy/IPolicy.sol +0 -66
- package/contracts/instance/policy/PolicyModule.sol +0 -106
- package/contracts/instance/pool/IPoolModule.sol +0 -40
- package/contracts/instance/pool/PoolModule.sol +0 -83
- package/contracts/instance/product/IProductService.sol +0 -45
- package/contracts/instance/product/ProductService.sol +0 -105
- package/contracts/registry/IChainNft.sol +0 -18
- package/contracts/types/ChainId.sol +0 -24
- package/contracts/types/NftId.sol +0 -25
@@ -0,0 +1,488 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "ContractLib",
|
4
|
+
"sourceName": "contracts/shared/ContractLib.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "NftId",
|
10
|
+
"name": "componentNftId",
|
11
|
+
"type": "uint96"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "ErrorContractLibComponentInactive",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "NftId",
|
21
|
+
"name": "componentNftId",
|
22
|
+
"type": "uint96"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "ObjectType",
|
26
|
+
"name": "expectedType",
|
27
|
+
"type": "uint8"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"internalType": "ObjectType",
|
31
|
+
"name": "actualType",
|
32
|
+
"type": "uint8"
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"name": "ErrorContractLibComponentTypeMismatch",
|
36
|
+
"type": "error"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"inputs": [
|
40
|
+
{
|
41
|
+
"internalType": "NftId",
|
42
|
+
"name": "componentNftId",
|
43
|
+
"type": "uint96"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"internalType": "ObjectType",
|
47
|
+
"name": "objectType",
|
48
|
+
"type": "uint8"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"name": "ErrorContractLibNotComponent",
|
52
|
+
"type": "error"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"inputs": [
|
56
|
+
{
|
57
|
+
"internalType": "address",
|
58
|
+
"name": "target",
|
59
|
+
"type": "address"
|
60
|
+
}
|
61
|
+
],
|
62
|
+
"name": "ErrorContractLibNotRegistered",
|
63
|
+
"type": "error"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"inputs": [
|
67
|
+
{
|
68
|
+
"internalType": "NftId",
|
69
|
+
"name": "componentNftId",
|
70
|
+
"type": "uint96"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"internalType": "ObjectType",
|
74
|
+
"name": "objectType",
|
75
|
+
"type": "uint8"
|
76
|
+
}
|
77
|
+
],
|
78
|
+
"name": "ErrorContractLibNotStaking",
|
79
|
+
"type": "error"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"inputs": [
|
83
|
+
{
|
84
|
+
"internalType": "contract IRegistry",
|
85
|
+
"name": "registry",
|
86
|
+
"type": "IRegistry"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"internalType": "address",
|
90
|
+
"name": "target",
|
91
|
+
"type": "address"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"internalType": "bool",
|
95
|
+
"name": "onlyActive",
|
96
|
+
"type": "bool"
|
97
|
+
}
|
98
|
+
],
|
99
|
+
"name": "getAndVerifyAnyComponent",
|
100
|
+
"outputs": [
|
101
|
+
{
|
102
|
+
"components": [
|
103
|
+
{
|
104
|
+
"internalType": "NftId",
|
105
|
+
"name": "nftId",
|
106
|
+
"type": "uint96"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"internalType": "NftId",
|
110
|
+
"name": "parentNftId",
|
111
|
+
"type": "uint96"
|
112
|
+
},
|
113
|
+
{
|
114
|
+
"internalType": "ObjectType",
|
115
|
+
"name": "objectType",
|
116
|
+
"type": "uint8"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"internalType": "bool",
|
120
|
+
"name": "isInterceptor",
|
121
|
+
"type": "bool"
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"internalType": "address",
|
125
|
+
"name": "objectAddress",
|
126
|
+
"type": "address"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"internalType": "address",
|
130
|
+
"name": "initialOwner",
|
131
|
+
"type": "address"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"internalType": "bytes",
|
135
|
+
"name": "data",
|
136
|
+
"type": "bytes"
|
137
|
+
}
|
138
|
+
],
|
139
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
140
|
+
"name": "info",
|
141
|
+
"type": "tuple"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"internalType": "address",
|
145
|
+
"name": "instance",
|
146
|
+
"type": "address"
|
147
|
+
}
|
148
|
+
],
|
149
|
+
"stateMutability": "view",
|
150
|
+
"type": "function"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"inputs": [
|
154
|
+
{
|
155
|
+
"internalType": "contract IRegistry",
|
156
|
+
"name": "registry",
|
157
|
+
"type": "IRegistry"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"internalType": "address",
|
161
|
+
"name": "target",
|
162
|
+
"type": "address"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"internalType": "ObjectType",
|
166
|
+
"name": "expectedType",
|
167
|
+
"type": "uint8"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"internalType": "bool",
|
171
|
+
"name": "onlyActive",
|
172
|
+
"type": "bool"
|
173
|
+
}
|
174
|
+
],
|
175
|
+
"name": "getAndVerifyComponent",
|
176
|
+
"outputs": [
|
177
|
+
{
|
178
|
+
"components": [
|
179
|
+
{
|
180
|
+
"internalType": "NftId",
|
181
|
+
"name": "nftId",
|
182
|
+
"type": "uint96"
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"internalType": "NftId",
|
186
|
+
"name": "parentNftId",
|
187
|
+
"type": "uint96"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"internalType": "ObjectType",
|
191
|
+
"name": "objectType",
|
192
|
+
"type": "uint8"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"internalType": "bool",
|
196
|
+
"name": "isInterceptor",
|
197
|
+
"type": "bool"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"internalType": "address",
|
201
|
+
"name": "objectAddress",
|
202
|
+
"type": "address"
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"internalType": "address",
|
206
|
+
"name": "initialOwner",
|
207
|
+
"type": "address"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"internalType": "bytes",
|
211
|
+
"name": "data",
|
212
|
+
"type": "bytes"
|
213
|
+
}
|
214
|
+
],
|
215
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
216
|
+
"name": "info",
|
217
|
+
"type": "tuple"
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"internalType": "address",
|
221
|
+
"name": "instance",
|
222
|
+
"type": "address"
|
223
|
+
}
|
224
|
+
],
|
225
|
+
"stateMutability": "view",
|
226
|
+
"type": "function"
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"inputs": [
|
230
|
+
{
|
231
|
+
"internalType": "contract IRegistry",
|
232
|
+
"name": "registry",
|
233
|
+
"type": "IRegistry"
|
234
|
+
},
|
235
|
+
{
|
236
|
+
"internalType": "address",
|
237
|
+
"name": "target",
|
238
|
+
"type": "address"
|
239
|
+
}
|
240
|
+
],
|
241
|
+
"name": "getAndVerifyStaking",
|
242
|
+
"outputs": [
|
243
|
+
{
|
244
|
+
"components": [
|
245
|
+
{
|
246
|
+
"internalType": "NftId",
|
247
|
+
"name": "nftId",
|
248
|
+
"type": "uint96"
|
249
|
+
},
|
250
|
+
{
|
251
|
+
"internalType": "NftId",
|
252
|
+
"name": "parentNftId",
|
253
|
+
"type": "uint96"
|
254
|
+
},
|
255
|
+
{
|
256
|
+
"internalType": "ObjectType",
|
257
|
+
"name": "objectType",
|
258
|
+
"type": "uint8"
|
259
|
+
},
|
260
|
+
{
|
261
|
+
"internalType": "bool",
|
262
|
+
"name": "isInterceptor",
|
263
|
+
"type": "bool"
|
264
|
+
},
|
265
|
+
{
|
266
|
+
"internalType": "address",
|
267
|
+
"name": "objectAddress",
|
268
|
+
"type": "address"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"internalType": "address",
|
272
|
+
"name": "initialOwner",
|
273
|
+
"type": "address"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"internalType": "bytes",
|
277
|
+
"name": "data",
|
278
|
+
"type": "bytes"
|
279
|
+
}
|
280
|
+
],
|
281
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
282
|
+
"name": "info",
|
283
|
+
"type": "tuple"
|
284
|
+
}
|
285
|
+
],
|
286
|
+
"stateMutability": "view",
|
287
|
+
"type": "function"
|
288
|
+
},
|
289
|
+
{
|
290
|
+
"inputs": [
|
291
|
+
{
|
292
|
+
"internalType": "contract IRegistry",
|
293
|
+
"name": "registry",
|
294
|
+
"type": "IRegistry"
|
295
|
+
},
|
296
|
+
{
|
297
|
+
"internalType": "NftId",
|
298
|
+
"name": "componentNftId",
|
299
|
+
"type": "uint96"
|
300
|
+
},
|
301
|
+
{
|
302
|
+
"internalType": "bool",
|
303
|
+
"name": "onlyActive",
|
304
|
+
"type": "bool"
|
305
|
+
}
|
306
|
+
],
|
307
|
+
"name": "getInfoAndInstance",
|
308
|
+
"outputs": [
|
309
|
+
{
|
310
|
+
"components": [
|
311
|
+
{
|
312
|
+
"internalType": "NftId",
|
313
|
+
"name": "nftId",
|
314
|
+
"type": "uint96"
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"internalType": "NftId",
|
318
|
+
"name": "parentNftId",
|
319
|
+
"type": "uint96"
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"internalType": "ObjectType",
|
323
|
+
"name": "objectType",
|
324
|
+
"type": "uint8"
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"internalType": "bool",
|
328
|
+
"name": "isInterceptor",
|
329
|
+
"type": "bool"
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"internalType": "address",
|
333
|
+
"name": "objectAddress",
|
334
|
+
"type": "address"
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"internalType": "address",
|
338
|
+
"name": "initialOwner",
|
339
|
+
"type": "address"
|
340
|
+
},
|
341
|
+
{
|
342
|
+
"internalType": "bytes",
|
343
|
+
"name": "data",
|
344
|
+
"type": "bytes"
|
345
|
+
}
|
346
|
+
],
|
347
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
348
|
+
"name": "info",
|
349
|
+
"type": "tuple"
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"internalType": "address",
|
353
|
+
"name": "instance",
|
354
|
+
"type": "address"
|
355
|
+
}
|
356
|
+
],
|
357
|
+
"stateMutability": "view",
|
358
|
+
"type": "function"
|
359
|
+
},
|
360
|
+
{
|
361
|
+
"inputs": [
|
362
|
+
{
|
363
|
+
"internalType": "contract IRegistry",
|
364
|
+
"name": "registry",
|
365
|
+
"type": "IRegistry"
|
366
|
+
},
|
367
|
+
{
|
368
|
+
"internalType": "NftId",
|
369
|
+
"name": "componentNftId",
|
370
|
+
"type": "uint96"
|
371
|
+
}
|
372
|
+
],
|
373
|
+
"name": "getInstanceForComponent",
|
374
|
+
"outputs": [
|
375
|
+
{
|
376
|
+
"internalType": "address",
|
377
|
+
"name": "instance",
|
378
|
+
"type": "address"
|
379
|
+
}
|
380
|
+
],
|
381
|
+
"stateMutability": "view",
|
382
|
+
"type": "function"
|
383
|
+
},
|
384
|
+
{
|
385
|
+
"inputs": [
|
386
|
+
{
|
387
|
+
"internalType": "address",
|
388
|
+
"name": "target",
|
389
|
+
"type": "address"
|
390
|
+
}
|
391
|
+
],
|
392
|
+
"name": "isContract",
|
393
|
+
"outputs": [
|
394
|
+
{
|
395
|
+
"internalType": "bool",
|
396
|
+
"name": "",
|
397
|
+
"type": "bool"
|
398
|
+
}
|
399
|
+
],
|
400
|
+
"stateMutability": "view",
|
401
|
+
"type": "function"
|
402
|
+
},
|
403
|
+
{
|
404
|
+
"inputs": [
|
405
|
+
{
|
406
|
+
"internalType": "address",
|
407
|
+
"name": "target",
|
408
|
+
"type": "address"
|
409
|
+
}
|
410
|
+
],
|
411
|
+
"name": "isPolicyHolder",
|
412
|
+
"outputs": [
|
413
|
+
{
|
414
|
+
"internalType": "bool",
|
415
|
+
"name": "",
|
416
|
+
"type": "bool"
|
417
|
+
}
|
418
|
+
],
|
419
|
+
"stateMutability": "view",
|
420
|
+
"type": "function"
|
421
|
+
},
|
422
|
+
{
|
423
|
+
"inputs": [
|
424
|
+
{
|
425
|
+
"internalType": "address",
|
426
|
+
"name": "registry",
|
427
|
+
"type": "address"
|
428
|
+
}
|
429
|
+
],
|
430
|
+
"name": "isRegistry",
|
431
|
+
"outputs": [
|
432
|
+
{
|
433
|
+
"internalType": "bool",
|
434
|
+
"name": "",
|
435
|
+
"type": "bool"
|
436
|
+
}
|
437
|
+
],
|
438
|
+
"stateMutability": "view",
|
439
|
+
"type": "function"
|
440
|
+
},
|
441
|
+
{
|
442
|
+
"inputs": [
|
443
|
+
{
|
444
|
+
"internalType": "address",
|
445
|
+
"name": "target",
|
446
|
+
"type": "address"
|
447
|
+
},
|
448
|
+
{
|
449
|
+
"internalType": "bytes4",
|
450
|
+
"name": "interfaceId",
|
451
|
+
"type": "bytes4"
|
452
|
+
}
|
453
|
+
],
|
454
|
+
"name": "supportsInterface",
|
455
|
+
"outputs": [
|
456
|
+
{
|
457
|
+
"internalType": "bool",
|
458
|
+
"name": "",
|
459
|
+
"type": "bool"
|
460
|
+
}
|
461
|
+
],
|
462
|
+
"stateMutability": "view",
|
463
|
+
"type": "function"
|
464
|
+
}
|
465
|
+
],
|
466
|
+
"bytecode": "0x61100d610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061009b575f3560e01c8063aa13a9881161006e578063aa13a9881461011f578063b6bbad1214610132578063c52721a314610145578063ce64d28114610158578063d905700714610183575f80fd5b80630c21dea21461009f57806316279055146100c85780633334d16b146100eb5780635c990ed3146100fe575b5f80fd5b6100b26100ad366004610b0e565b610196565b6040516100bf9190610c04565b60405180910390f35b6100db6100d6366004610c16565b61020a565b60405190151581526020016100bf565b6100db6100f9366004610c16565b610227565b61011161010c366004610c4c565b61024d565b6040516100bf929190610ca5565b61011161012d366004610cce565b6102dc565b6100db610140366004610c16565b6103a9565b610111610153366004610d2a565b6103ba565b61016b610166366004610d57565b610456565b6040516001600160a01b0390911681526020016100bf565b6100db610191366004610d83565b6105ca565b61019e610aba565b6101a883836105dc565b90506101c681604001516101ba600390565b60ff9081169116141590565b15610204578051604080830151905163067e446760e31b81526001600160601b03909216600483015260ff1660248201526044015b60405180910390fd5b92915050565b5f6001600160a01b03821661022057505f919050565b503b151590565b5f6102318261020a565b61023c57505f919050565b61020482631939536960e31b6105ca565b610255610aba565b5f61026086866105dc565b915061027782604001518560ff9081169116141590565b156102b8578151604080840151905163176bb19d60e21b81526001600160601b03909216600483015260ff80871660248401521660448201526064016101fb565b6102c2868361076e565b90506102d38186845f0151866108e9565b94509492505050565b6102e4610aba565b5f6102ef85856105dc565b915061030c8260400151610301600c90565b60ff90811691161490565b8061032257506103228260400151610301600f90565b8061033857506103388260400151610301600e90565b8061034e575061034e8260400151610301600d90565b6103865781516040808401519051631df6ffe760e01b81526001600160601b03909216600483015260ff1660248201526044016101fb565b610390858361076e565b90506103a18185845f0151866108e9565b935093915050565b5f61020482620b5ccf60e31b6109e7565b6103c2610aba565b6040516305247a1760e51b81526001600160601b03841660048201525f906001600160a01b0386169063a48f42e0906024015f60405180830381865afa15801561040e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104359190810190610eb4565b9150610441858361076e565b90506103a1818360800151845f0151866108e9565b6040516305247a1760e51b81526001600160601b03821660048201525f9081906001600160a01b0385169063a48f42e0906024015f60405180830381865afa1580156104a4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104cb9190810190610eb4565b602001516040516305247a1760e51b81526001600160601b03821660048201529091505f906001600160a01b0386169063a48f42e0906024015f60405180830381865afa15801561051e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105459190810190610eb4565b602001516040516305247a1760e51b81526001600160601b03821660048201529091506001600160a01b0386169063a48f42e0906024015f60405180830381865afa158015610596573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105bd9190810190610eb4565b6080015195945050505050565b5f6105d583836109e7565b9392505050565b6105e4610aba565b604051632f2a35f760e11b81526001600160a01b0383811660048301525f9190851690635e546bee90602401602060405180830381865afa15801561062b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064f9190610f86565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156106a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106cc9190610fa1565b156106f557604051630e8088a760e01b81526001600160a01b03841660048201526024016101fb565b6040516305247a1760e51b81526001600160601b03821660048201526001600160a01b0385169063a48f42e0906024015f60405180830381865afa15801561073f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107669190810190610eb4565b949350505050565b5f61077f8260400151610301600c90565b1561080057602082015160405163bf8e179760e01b81526001600160601b0390911660048201526001600160a01b0384169063bf8e179790602401602060405180830381865afa1580156107d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f99190610fbc565b9050610204565b60208201516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b0384169063bf8e179790829063a48f42e0906024015f60405180830381865afa158015610858573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261087f9190810190610eb4565b602001516040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156108c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105d59190610fbc565b80156109e157836001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561092b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094f9190610fbc565b604051629b7b3560e61b81526001600160a01b03858116600483015291909116906326decd4090602401602060405180830381865afa158015610994573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b89190610fa1565b156109e157604051633a31890160e11b81526001600160601b03831660048201526024016101fb565b50505050565b5f6109f183610a02565b80156105d557506105d58383610a34565b5f610a14826301ffc9a760e01b610a34565b80156102045750610a2d826001600160e01b0319610a34565b1592915050565b6040516001600160e01b0319821660248201525f90819060440160408051601f19818403018152919052602080820180516001600160e01b03166301ffc9a760e01b17815282519293505f9283928392909183918a617530fa92503d91505f519050828015610aa4575060208210155b8015610aaf57505f81115b979650505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6001600160a01b0381168114610b0b575f80fd5b50565b5f8060408385031215610b1f575f80fd5b8235610b2a81610af7565b91506020830135610b3a81610af7565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b6001600160601b0381511682526001600160601b03602082015116602083015260ff60408201511660408301525f6060820151610bb4606085018215159052565b506080820151610bcf60808501826001600160a01b03169052565b5060a0820151610bea60a08501826001600160a01b03169052565b5060c082015160e060c085015261076660e0850182610b45565b602081525f6105d56020830184610b73565b5f60208284031215610c26575f80fd5b81356105d581610af7565b60ff81168114610b0b575f80fd5b8015158114610b0b575f80fd5b5f805f8060808587031215610c5f575f80fd5b8435610c6a81610af7565b93506020850135610c7a81610af7565b92506040850135610c8a81610c31565b91506060850135610c9a81610c3f565b939692955090935050565b604081525f610cb76040830185610b73565b905060018060a01b03831660208301529392505050565b5f805f60608486031215610ce0575f80fd5b8335610ceb81610af7565b92506020840135610cfb81610af7565b91506040840135610d0b81610c3f565b809150509250925092565b6001600160601b0381168114610b0b575f80fd5b5f805f60608486031215610d3c575f80fd5b8335610d4781610af7565b92506020840135610cfb81610d16565b5f8060408385031215610d68575f80fd5b8235610d7381610af7565b91506020830135610b3a81610d16565b5f8060408385031215610d94575f80fd5b8235610d9f81610af7565b915060208301356001600160e01b031981168114610b3a575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff81118282101715610df257610df2610dbb565b60405290565b8051610e0381610d16565b919050565b8051610e0381610c31565b8051610e0381610c3f565b8051610e0381610af7565b5f82601f830112610e38575f80fd5b815167ffffffffffffffff811115610e5257610e52610dbb565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715610e8157610e81610dbb565b604052818152838201602001851015610e98575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215610ec4575f80fd5b815167ffffffffffffffff811115610eda575f80fd5b820160e08185031215610eeb575f80fd5b610ef3610dcf565b610efc82610df8565b8152610f0a60208301610df8565b6020820152610f1b60408301610e08565b6040820152610f2c60608301610e13565b6060820152610f3d60808301610e1e565b6080820152610f4e60a08301610e1e565b60a082015260c082015167ffffffffffffffff811115610f6c575f80fd5b610f7886828501610e29565b60c083015250949350505050565b5f60208284031215610f96575f80fd5b81516105d581610d16565b5f60208284031215610fb1575f80fd5b81516105d581610c3f565b5f60208284031215610fcc575f80fd5b81516105d581610af756fea2646970667358221220dd72d86732ed7708c57a5491275cad1f90cfb66967e3b6e3a79ec48ea58a619f64736f6c634300081a0033",
|
467
|
+
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061009b575f3560e01c8063aa13a9881161006e578063aa13a9881461011f578063b6bbad1214610132578063c52721a314610145578063ce64d28114610158578063d905700714610183575f80fd5b80630c21dea21461009f57806316279055146100c85780633334d16b146100eb5780635c990ed3146100fe575b5f80fd5b6100b26100ad366004610b0e565b610196565b6040516100bf9190610c04565b60405180910390f35b6100db6100d6366004610c16565b61020a565b60405190151581526020016100bf565b6100db6100f9366004610c16565b610227565b61011161010c366004610c4c565b61024d565b6040516100bf929190610ca5565b61011161012d366004610cce565b6102dc565b6100db610140366004610c16565b6103a9565b610111610153366004610d2a565b6103ba565b61016b610166366004610d57565b610456565b6040516001600160a01b0390911681526020016100bf565b6100db610191366004610d83565b6105ca565b61019e610aba565b6101a883836105dc565b90506101c681604001516101ba600390565b60ff9081169116141590565b15610204578051604080830151905163067e446760e31b81526001600160601b03909216600483015260ff1660248201526044015b60405180910390fd5b92915050565b5f6001600160a01b03821661022057505f919050565b503b151590565b5f6102318261020a565b61023c57505f919050565b61020482631939536960e31b6105ca565b610255610aba565b5f61026086866105dc565b915061027782604001518560ff9081169116141590565b156102b8578151604080840151905163176bb19d60e21b81526001600160601b03909216600483015260ff80871660248401521660448201526064016101fb565b6102c2868361076e565b90506102d38186845f0151866108e9565b94509492505050565b6102e4610aba565b5f6102ef85856105dc565b915061030c8260400151610301600c90565b60ff90811691161490565b8061032257506103228260400151610301600f90565b8061033857506103388260400151610301600e90565b8061034e575061034e8260400151610301600d90565b6103865781516040808401519051631df6ffe760e01b81526001600160601b03909216600483015260ff1660248201526044016101fb565b610390858361076e565b90506103a18185845f0151866108e9565b935093915050565b5f61020482620b5ccf60e31b6109e7565b6103c2610aba565b6040516305247a1760e51b81526001600160601b03841660048201525f906001600160a01b0386169063a48f42e0906024015f60405180830381865afa15801561040e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104359190810190610eb4565b9150610441858361076e565b90506103a1818360800151845f0151866108e9565b6040516305247a1760e51b81526001600160601b03821660048201525f9081906001600160a01b0385169063a48f42e0906024015f60405180830381865afa1580156104a4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104cb9190810190610eb4565b602001516040516305247a1760e51b81526001600160601b03821660048201529091505f906001600160a01b0386169063a48f42e0906024015f60405180830381865afa15801561051e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105459190810190610eb4565b602001516040516305247a1760e51b81526001600160601b03821660048201529091506001600160a01b0386169063a48f42e0906024015f60405180830381865afa158015610596573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105bd9190810190610eb4565b6080015195945050505050565b5f6105d583836109e7565b9392505050565b6105e4610aba565b604051632f2a35f760e11b81526001600160a01b0383811660048301525f9190851690635e546bee90602401602060405180830381865afa15801561062b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064f9190610f86565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156106a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106cc9190610fa1565b156106f557604051630e8088a760e01b81526001600160a01b03841660048201526024016101fb565b6040516305247a1760e51b81526001600160601b03821660048201526001600160a01b0385169063a48f42e0906024015f60405180830381865afa15801561073f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107669190810190610eb4565b949350505050565b5f61077f8260400151610301600c90565b1561080057602082015160405163bf8e179760e01b81526001600160601b0390911660048201526001600160a01b0384169063bf8e179790602401602060405180830381865afa1580156107d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f99190610fbc565b9050610204565b60208201516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b0384169063bf8e179790829063a48f42e0906024015f60405180830381865afa158015610858573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261087f9190810190610eb4565b602001516040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156108c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105d59190610fbc565b80156109e157836001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561092b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094f9190610fbc565b604051629b7b3560e61b81526001600160a01b03858116600483015291909116906326decd4090602401602060405180830381865afa158015610994573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b89190610fa1565b156109e157604051633a31890160e11b81526001600160601b03831660048201526024016101fb565b50505050565b5f6109f183610a02565b80156105d557506105d58383610a34565b5f610a14826301ffc9a760e01b610a34565b80156102045750610a2d826001600160e01b0319610a34565b1592915050565b6040516001600160e01b0319821660248201525f90819060440160408051601f19818403018152919052602080820180516001600160e01b03166301ffc9a760e01b17815282519293505f9283928392909183918a617530fa92503d91505f519050828015610aa4575060208210155b8015610aaf57505f81115b979650505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6001600160a01b0381168114610b0b575f80fd5b50565b5f8060408385031215610b1f575f80fd5b8235610b2a81610af7565b91506020830135610b3a81610af7565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b6001600160601b0381511682526001600160601b03602082015116602083015260ff60408201511660408301525f6060820151610bb4606085018215159052565b506080820151610bcf60808501826001600160a01b03169052565b5060a0820151610bea60a08501826001600160a01b03169052565b5060c082015160e060c085015261076660e0850182610b45565b602081525f6105d56020830184610b73565b5f60208284031215610c26575f80fd5b81356105d581610af7565b60ff81168114610b0b575f80fd5b8015158114610b0b575f80fd5b5f805f8060808587031215610c5f575f80fd5b8435610c6a81610af7565b93506020850135610c7a81610af7565b92506040850135610c8a81610c31565b91506060850135610c9a81610c3f565b939692955090935050565b604081525f610cb76040830185610b73565b905060018060a01b03831660208301529392505050565b5f805f60608486031215610ce0575f80fd5b8335610ceb81610af7565b92506020840135610cfb81610af7565b91506040840135610d0b81610c3f565b809150509250925092565b6001600160601b0381168114610b0b575f80fd5b5f805f60608486031215610d3c575f80fd5b8335610d4781610af7565b92506020840135610cfb81610d16565b5f8060408385031215610d68575f80fd5b8235610d7381610af7565b91506020830135610b3a81610d16565b5f8060408385031215610d94575f80fd5b8235610d9f81610af7565b915060208301356001600160e01b031981168114610b3a575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff81118282101715610df257610df2610dbb565b60405290565b8051610e0381610d16565b919050565b8051610e0381610c31565b8051610e0381610c3f565b8051610e0381610af7565b5f82601f830112610e38575f80fd5b815167ffffffffffffffff811115610e5257610e52610dbb565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715610e8157610e81610dbb565b604052818152838201602001851015610e98575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215610ec4575f80fd5b815167ffffffffffffffff811115610eda575f80fd5b820160e08185031215610eeb575f80fd5b610ef3610dcf565b610efc82610df8565b8152610f0a60208301610df8565b6020820152610f1b60408301610e08565b6040820152610f2c60608301610e13565b6060820152610f3d60808301610e1e565b6080820152610f4e60a08301610e1e565b60a082015260c082015167ffffffffffffffff811115610f6c575f80fd5b610f7886828501610e29565b60c083015250949350505050565b5f60208284031215610f96575f80fd5b81516105d581610d16565b5f60208284031215610fb1575f80fd5b81516105d581610c3f565b5f60208284031215610fcc575f80fd5b81516105d581610af756fea2646970667358221220dd72d86732ed7708c57a5491275cad1f90cfb66967e3b6e3a79ec48ea58a619f64736f6c634300081a0033",
|
468
|
+
"linkReferences": {
|
469
|
+
"contracts/type/NftId.sol": {
|
470
|
+
"NftIdLib": [
|
471
|
+
{
|
472
|
+
"length": 20,
|
473
|
+
"start": 1700
|
474
|
+
}
|
475
|
+
]
|
476
|
+
}
|
477
|
+
},
|
478
|
+
"deployedLinkReferences": {
|
479
|
+
"contracts/type/NftId.sol": {
|
480
|
+
"NftIdLib": [
|
481
|
+
{
|
482
|
+
"length": 20,
|
483
|
+
"start": 1648
|
484
|
+
}
|
485
|
+
]
|
486
|
+
}
|
487
|
+
}
|
488
|
+
}
|
@@ -1,15 +1,15 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "
|
4
|
-
"sourceName": "contracts/
|
3
|
+
"contractName": "IInstanceAdminHelper",
|
4
|
+
"sourceName": "contracts/shared/ContractLib.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [],
|
8
|
-
"name": "
|
8
|
+
"name": "getInstanceAdmin",
|
9
9
|
"outputs": [
|
10
10
|
{
|
11
|
-
"internalType": "contract
|
12
|
-
"name": "
|
11
|
+
"internalType": "contract ITargetHelper",
|
12
|
+
"name": "",
|
13
13
|
"type": "address"
|
14
14
|
}
|
15
15
|
],
|
@@ -1,22 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "
|
4
|
-
"sourceName": "contracts/
|
3
|
+
"contractName": "ITargetHelper",
|
4
|
+
"sourceName": "contracts/shared/ContractLib.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
8
|
-
{
|
9
|
-
"internalType": "bytes32",
|
10
|
-
"name": "role",
|
11
|
-
"type": "bytes32"
|
12
|
-
},
|
13
8
|
{
|
14
9
|
"internalType": "address",
|
15
|
-
"name": "
|
10
|
+
"name": "target",
|
16
11
|
"type": "address"
|
17
12
|
}
|
18
13
|
],
|
19
|
-
"name": "
|
14
|
+
"name": "isTargetLocked",
|
20
15
|
"outputs": [
|
21
16
|
{
|
22
17
|
"internalType": "bool",
|