@etherisc/gif-next 0.0.2-bdb55c6-577 → 0.0.2-bdbfee9-660
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +128 -9
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1056 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +771 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
- package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → accounting/IAccountingService.sol/IAccountingService.json} +401 -103
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.json +10 -0
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/{shared/IAccessManagerExtended.sol/IAccessManagerExtended.json → authorization/IAccessAdmin.sol/IAccessAdmin.json} +605 -795
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1225 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +120 -606
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +608 -282
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +229 -116
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +133 -279
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +362 -66
- 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 +1461 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2026 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1404 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1628 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2452 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +551 -96
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +436 -86
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +550 -235
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1954 -313
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1704 -759
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +423 -230
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +121 -102
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +916 -774
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +43 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +130 -136
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +91 -10
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +121 -413
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +203 -177
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +164 -91
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1231 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +418 -220
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +207 -102
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +234 -34
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +128 -396
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +494 -308
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +125 -684
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +546 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +733 -530
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +210 -101
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +217 -170
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +146 -97
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1140 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +476 -221
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +183 -118
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +158 -8
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +341 -15
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +410 -100
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +176 -79
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +270 -268
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +110 -7
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +548 -309
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +183 -102
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +239 -309
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +145 -128
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +268 -567
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +698 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +755 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +379 -64
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +90 -147
- package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
- package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +612 -128
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1895 -155
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +140 -276
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +128 -83
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +15 -15
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +67 -277
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +539 -532
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +169 -126
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +80 -100
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +519 -249
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +116 -133
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +45 -3
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +34 -3
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -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 +77 -1
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +106 -366
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +55 -88
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -62
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +122 -97
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +73 -104
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +322 -133
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +213 -29
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +405 -415
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +158 -112
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +91 -67
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +269 -187
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +134 -97
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +273 -165
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +95 -49
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +63 -10
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +98 -37
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +140 -4
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +4 -4
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +121 -23
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +69 -2
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
- package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +126 -33
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +637 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
- package/contracts/accounting/AccountingService.sol +274 -0
- package/contracts/accounting/AccountingServiceManager.sol +38 -0
- package/contracts/accounting/IAccountingService.sol +47 -0
- package/contracts/authorization/AccessAdmin.sol +780 -0
- package/contracts/authorization/AccessAdminLib.sol +396 -0
- package/contracts/authorization/AccessManagerCloneable.sol +158 -0
- package/contracts/authorization/Authorization.sol +172 -0
- package/contracts/authorization/IAccess.sol +67 -0
- package/contracts/authorization/IAccessAdmin.sol +144 -0
- package/contracts/authorization/IAuthorization.sol +27 -0
- package/contracts/authorization/IServiceAuthorization.sol +78 -0
- package/contracts/authorization/ServiceAuthorization.sol +320 -0
- package/contracts/distribution/BasicDistribution.sol +141 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
- package/contracts/distribution/Distribution.sol +125 -139
- package/contracts/distribution/DistributionService.sol +273 -136
- package/contracts/distribution/DistributionServiceManager.sol +8 -11
- package/contracts/distribution/IDistributionComponent.sol +21 -42
- package/contracts/distribution/IDistributionService.sol +54 -26
- package/contracts/examples/fire/DamageLevel.sol +59 -0
- package/contracts/examples/fire/FirePool.sol +86 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
- package/contracts/examples/fire/FireProduct.sol +433 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
- package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
- package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +385 -0
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +130 -0
- package/contracts/instance/IInstance.sol +110 -47
- package/contracts/instance/IInstanceService.sol +74 -42
- package/contracts/instance/Instance.sol +248 -138
- package/contracts/instance/InstanceAdmin.sol +301 -249
- package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
- package/contracts/instance/InstanceReader.sol +494 -252
- package/contracts/instance/InstanceService.sol +358 -208
- package/contracts/instance/InstanceServiceManager.sol +8 -13
- package/contracts/instance/InstanceStore.sol +35 -18
- package/contracts/instance/RiskSet.sol +118 -0
- package/contracts/instance/base/BalanceStore.sol +14 -11
- package/contracts/instance/base/Cloneable.sol +2 -25
- package/contracts/instance/base/ObjectCounter.sol +1 -2
- package/contracts/instance/base/ObjectLifecycle.sol +113 -0
- package/contracts/instance/base/ObjectSet.sol +77 -0
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IBundle.sol +6 -5
- package/contracts/instance/module/IComponents.sol +30 -20
- package/contracts/instance/module/IDistribution.sol +21 -9
- package/contracts/instance/module/IPolicy.sol +50 -29
- package/contracts/instance/module/IRisk.sol +5 -0
- package/contracts/mock/Dip.sol +1 -1
- package/contracts/oracle/BasicOracle.sol +45 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
- package/contracts/oracle/IOracle.sol +25 -4
- package/contracts/oracle/IOracleComponent.sol +2 -1
- package/contracts/oracle/IOracleService.sol +2 -1
- package/contracts/oracle/Oracle.sol +62 -53
- package/contracts/oracle/OracleService.sol +118 -85
- package/contracts/oracle/OracleServiceManager.sol +8 -11
- package/contracts/pool/BasicPool.sol +173 -0
- package/contracts/pool/BasicPoolAuthorization.sol +82 -0
- package/contracts/pool/BundleService.sol +212 -114
- package/contracts/pool/BundleServiceManager.sol +8 -11
- package/contracts/pool/IBundleService.sol +31 -22
- package/contracts/pool/IPoolComponent.sol +20 -70
- package/contracts/pool/IPoolService.sol +91 -77
- package/contracts/pool/Pool.sol +207 -163
- package/contracts/pool/PoolLib.sol +359 -0
- package/contracts/pool/PoolService.sol +404 -264
- package/contracts/pool/PoolServiceManager.sol +6 -9
- package/contracts/product/ApplicationService.sol +132 -87
- package/contracts/product/ApplicationServiceManager.sol +6 -6
- package/contracts/product/BasicProduct.sol +49 -0
- package/contracts/product/BasicProductAuthorization.sol +63 -0
- package/contracts/product/ClaimService.sol +385 -188
- package/contracts/product/ClaimServiceManager.sol +6 -6
- package/contracts/product/IApplicationService.sol +9 -2
- package/contracts/product/IClaimService.sol +44 -8
- package/contracts/product/IPolicyService.sol +61 -37
- package/contracts/product/IPricingService.sol +11 -10
- package/contracts/product/IProductComponent.sol +29 -9
- package/contracts/product/{IProductService.sol → IRiskService.sol} +8 -8
- package/contracts/product/PolicyService.sol +448 -278
- package/contracts/product/PolicyServiceLib.sol +139 -0
- package/contracts/product/PolicyServiceManager.sol +6 -9
- package/contracts/product/PricingService.sol +93 -88
- package/contracts/product/PricingServiceManager.sol +6 -9
- package/contracts/product/Product.sol +237 -142
- package/contracts/product/RiskService.sol +157 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +72 -40
- package/contracts/registry/IRegistry.sol +82 -31
- package/contracts/registry/IRegistryService.sol +3 -10
- package/contracts/registry/IRelease.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -2
- package/contracts/registry/Registry.sol +374 -214
- package/contracts/registry/RegistryAdmin.sol +122 -171
- package/contracts/registry/RegistryAuthorization.sol +284 -0
- package/contracts/registry/RegistryService.sol +47 -72
- package/contracts/registry/RegistryServiceManager.sol +5 -10
- package/contracts/registry/ReleaseAdmin.sol +195 -0
- package/contracts/registry/ReleaseLifecycle.sol +32 -0
- package/contracts/registry/ReleaseRegistry.sol +520 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +345 -0
- package/contracts/registry/TokenRegistry.sol +14 -15
- package/contracts/shared/Component.sol +65 -136
- package/contracts/shared/ComponentService.sol +445 -385
- package/contracts/shared/ComponentServiceManager.sol +10 -7
- package/contracts/shared/ContractLib.sol +311 -0
- package/contracts/shared/IComponent.sol +6 -18
- package/contracts/shared/IComponentService.sol +49 -41
- package/contracts/shared/IInstanceLinkedComponent.sol +10 -26
- package/contracts/shared/IKeyValueStore.sol +1 -0
- package/contracts/shared/ILifecycle.sol +3 -2
- package/contracts/shared/INftOwnable.sol +2 -0
- package/contracts/shared/IPolicyHolder.sol +12 -22
- package/contracts/shared/IRegisterable.sol +22 -1
- package/contracts/shared/IService.sol +10 -5
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +11 -3
- package/contracts/shared/InstanceLinkedComponent.sol +95 -45
- package/contracts/shared/KeyValueStore.sol +7 -3
- package/contracts/shared/Lifecycle.sol +30 -72
- package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +1 -1
- package/contracts/shared/NftOwnable.sol +31 -11
- package/contracts/shared/PolicyHolder.sol +20 -59
- package/contracts/shared/Registerable.sol +52 -21
- package/contracts/shared/RegistryLinked.sol +9 -14
- package/contracts/shared/Service.sol +31 -41
- package/contracts/shared/TokenHandler.sol +310 -26
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +49 -22
- package/contracts/staking/IStakingService.sol +37 -16
- package/contracts/staking/Staking.sol +244 -190
- package/contracts/staking/StakingLib.sol +281 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +10 -12
- package/contracts/staking/StakingReader.sol +46 -34
- package/contracts/staking/StakingService.sol +146 -84
- package/contracts/staking/StakingServiceManager.sol +8 -8
- package/contracts/staking/StakingStore.sol +95 -61
- package/contracts/staking/TargetManagerLib.sol +8 -4
- package/contracts/type/Amount.sol +27 -5
- package/contracts/type/Blocknumber.sol +7 -1
- package/contracts/type/ClaimId.sol +6 -1
- package/contracts/type/Fee.sol +8 -8
- package/contracts/type/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/type/NftId.sol +7 -0
- package/contracts/type/ObjectType.sol +200 -61
- package/contracts/type/PayoutId.sol +10 -10
- package/contracts/type/Referral.sol +1 -0
- package/contracts/type/RiskId.sol +38 -6
- package/contracts/type/RoleId.sol +121 -87
- package/contracts/type/Seconds.sol +25 -1
- package/contracts/type/Selector.sol +107 -0
- package/contracts/type/StateId.sol +15 -1
- package/contracts/type/String.sol +65 -0
- package/contracts/type/Timestamp.sol +10 -5
- package/contracts/type/UFixed.sol +61 -125
- package/contracts/type/Version.sol +57 -6
- package/contracts/{shared → upgradeability}/IVersionable.sol +3 -0
- package/contracts/{shared → upgradeability}/ProxyManager.sol +96 -49
- package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +8 -4
- package/contracts/{shared → upgradeability}/Versionable.sol +8 -5
- package/package.json +10 -7
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -228
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -679
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -694
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1292
- package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +0 -4
- package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +0 -137
- package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +0 -4
- package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +0 -1193
- package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +0 -4
- package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +0 -1715
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +0 -4
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +0 -1728
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +0 -4
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +0 -1806
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +0 -1824
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
- package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +0 -4
- package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +0 -4
- package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +0 -1600
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
- package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
- package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +0 -306
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -617
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -444
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
- package/contracts/instance/BundleManager.sol +0 -126
- package/contracts/instance/InstanceAuthorizationsLib.sol +0 -377
- package/contracts/instance/base/ObjectManager.sol +0 -82
- package/contracts/instance/module/IAccess.sol +0 -46
- package/contracts/product/ProductService.sol +0 -124
- package/contracts/product/ProductServiceManager.sol +0 -42
- package/contracts/registry/ReleaseManager.sol +0 -600
- package/contracts/registry/ServiceAuthorizationsLib.sol +0 -173
- package/contracts/shared/AccessManagerCustom.sol +0 -736
- package/contracts/shared/AccessManagerExtended.sol +0 -470
- package/contracts/shared/AccessManagerExtendedInitializeable.sol +0 -13
- package/contracts/shared/AccessManagerExtendedWithDisable.sol +0 -137
- package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +0 -14
- package/contracts/shared/ComponentVerifyingService.sol +0 -117
- package/contracts/shared/IAccessManagerExtended.sol +0 -74
- package/contracts/shared/IAccessManagerExtendedWithDisable.sol +0 -18
- package/contracts/shared/InitializableCustom.sol +0 -177
- package/contracts/staking/StakeManagerLib.sol +0 -179
@@ -41,19 +41,35 @@
|
|
41
41
|
"name": "AccessManagedUnauthorized",
|
42
42
|
"type": "error"
|
43
43
|
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "authority",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorAuthorityInvalid",
|
53
|
+
"type": "error"
|
54
|
+
},
|
44
55
|
{
|
45
56
|
"inputs": [],
|
46
|
-
"name": "
|
57
|
+
"name": "ErrorInstanceServiceAccessManagerZero",
|
47
58
|
"type": "error"
|
48
59
|
},
|
49
60
|
{
|
50
61
|
"inputs": [],
|
51
|
-
"name": "
|
62
|
+
"name": "ErrorInstanceServiceBundleSetAuthorityMismatch",
|
52
63
|
"type": "error"
|
53
64
|
},
|
54
65
|
{
|
55
66
|
"inputs": [],
|
56
|
-
"name": "
|
67
|
+
"name": "ErrorInstanceServiceBundleSetInstanceMismatch",
|
68
|
+
"type": "error"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"inputs": [],
|
72
|
+
"name": "ErrorInstanceServiceBundleSetZero",
|
57
73
|
"type": "error"
|
58
74
|
},
|
59
75
|
{
|
@@ -144,6 +160,27 @@
|
|
144
160
|
"name": "ErrorInstanceServiceInstanceStoreZero",
|
145
161
|
"type": "error"
|
146
162
|
},
|
163
|
+
{
|
164
|
+
"inputs": [
|
165
|
+
{
|
166
|
+
"internalType": "NftId",
|
167
|
+
"name": "instanceNftId",
|
168
|
+
"type": "uint96"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"internalType": "VersionPart",
|
172
|
+
"name": "expectedRelease",
|
173
|
+
"type": "uint8"
|
174
|
+
},
|
175
|
+
{
|
176
|
+
"internalType": "VersionPart",
|
177
|
+
"name": "instanceRelease",
|
178
|
+
"type": "uint8"
|
179
|
+
}
|
180
|
+
],
|
181
|
+
"name": "ErrorInstanceServiceInstanceVersionMismatch",
|
182
|
+
"type": "error"
|
183
|
+
},
|
147
184
|
{
|
148
185
|
"inputs": [
|
149
186
|
{
|
@@ -167,27 +204,43 @@
|
|
167
204
|
},
|
168
205
|
{
|
169
206
|
"inputs": [],
|
170
|
-
"name": "
|
207
|
+
"name": "ErrorInstanceServiceMasterBundleSetAlreadySet",
|
171
208
|
"type": "error"
|
172
209
|
},
|
173
210
|
{
|
174
211
|
"inputs": [],
|
175
|
-
"name": "
|
212
|
+
"name": "ErrorInstanceServiceMasterInstanceAdminAlreadySet",
|
176
213
|
"type": "error"
|
177
214
|
},
|
178
215
|
{
|
179
216
|
"inputs": [],
|
180
|
-
"name": "
|
217
|
+
"name": "ErrorInstanceServiceMasterInstanceAlreadySet",
|
181
218
|
"type": "error"
|
182
219
|
},
|
183
220
|
{
|
184
221
|
"inputs": [],
|
185
|
-
"name": "
|
222
|
+
"name": "ErrorInstanceServiceMasterInstanceReaderNotSet",
|
186
223
|
"type": "error"
|
187
224
|
},
|
188
225
|
{
|
189
226
|
"inputs": [],
|
190
|
-
"name": "
|
227
|
+
"name": "ErrorInstanceServiceMasterRiskSetAlreadySet",
|
228
|
+
"type": "error"
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"inputs": [
|
232
|
+
{
|
233
|
+
"internalType": "address",
|
234
|
+
"name": "instance",
|
235
|
+
"type": "address"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"internalType": "ObjectType",
|
239
|
+
"name": "objectType",
|
240
|
+
"type": "uint8"
|
241
|
+
}
|
242
|
+
],
|
243
|
+
"name": "ErrorInstanceServiceNotInstance",
|
191
244
|
"type": "error"
|
192
245
|
},
|
193
246
|
{
|
@@ -198,7 +251,18 @@
|
|
198
251
|
"type": "uint96"
|
199
252
|
}
|
200
253
|
],
|
201
|
-
"name": "
|
254
|
+
"name": "ErrorInstanceServiceNotInstanceNftId",
|
255
|
+
"type": "error"
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"inputs": [
|
259
|
+
{
|
260
|
+
"internalType": "address",
|
261
|
+
"name": "instance",
|
262
|
+
"type": "address"
|
263
|
+
}
|
264
|
+
],
|
265
|
+
"name": "ErrorInstanceServiceNotRegistered",
|
202
266
|
"type": "error"
|
203
267
|
},
|
204
268
|
{
|
@@ -212,6 +276,21 @@
|
|
212
276
|
"name": "ErrorInstanceServiceRequestUnauhorized",
|
213
277
|
"type": "error"
|
214
278
|
},
|
279
|
+
{
|
280
|
+
"inputs": [],
|
281
|
+
"name": "ErrorInstanceServiceRiskSetAuthorityMismatch",
|
282
|
+
"type": "error"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"inputs": [],
|
286
|
+
"name": "ErrorInstanceServiceRiskSetInstanceMismatch",
|
287
|
+
"type": "error"
|
288
|
+
},
|
289
|
+
{
|
290
|
+
"inputs": [],
|
291
|
+
"name": "ErrorInstanceServiceRiskSetZero",
|
292
|
+
"type": "error"
|
293
|
+
},
|
215
294
|
{
|
216
295
|
"inputs": [
|
217
296
|
{
|
@@ -239,6 +318,22 @@
|
|
239
318
|
"name": "ErrorNftOwnableInitialOwnerZero",
|
240
319
|
"type": "error"
|
241
320
|
},
|
321
|
+
{
|
322
|
+
"inputs": [
|
323
|
+
{
|
324
|
+
"internalType": "NftId",
|
325
|
+
"name": "nftId",
|
326
|
+
"type": "uint96"
|
327
|
+
},
|
328
|
+
{
|
329
|
+
"internalType": "ObjectType",
|
330
|
+
"name": "expectedObjectType",
|
331
|
+
"type": "uint8"
|
332
|
+
}
|
333
|
+
],
|
334
|
+
"name": "ErrorNftOwnableInvalidType",
|
335
|
+
"type": "error"
|
336
|
+
},
|
242
337
|
{
|
243
338
|
"inputs": [
|
244
339
|
{
|
@@ -263,7 +358,17 @@
|
|
263
358
|
},
|
264
359
|
{
|
265
360
|
"inputs": [],
|
266
|
-
"name": "
|
361
|
+
"name": "ErrorRegisterableNotActive",
|
362
|
+
"type": "error"
|
363
|
+
},
|
364
|
+
{
|
365
|
+
"inputs": [],
|
366
|
+
"name": "ErrorVersionableInitializeNotImplemented",
|
367
|
+
"type": "error"
|
368
|
+
},
|
369
|
+
{
|
370
|
+
"inputs": [],
|
371
|
+
"name": "ErrorVersionableUpgradeNotImplemented",
|
267
372
|
"type": "error"
|
268
373
|
},
|
269
374
|
{
|
@@ -284,45 +389,15 @@
|
|
284
389
|
"inputs": [
|
285
390
|
{
|
286
391
|
"indexed": false,
|
287
|
-
"internalType": "
|
288
|
-
"name": "
|
289
|
-
"type": "
|
290
|
-
},
|
291
|
-
{
|
292
|
-
"indexed": false,
|
293
|
-
"internalType": "address",
|
294
|
-
"name": "clonedInstanceAccessManager",
|
295
|
-
"type": "address"
|
296
|
-
},
|
297
|
-
{
|
298
|
-
"indexed": false,
|
299
|
-
"internalType": "address",
|
300
|
-
"name": "clonedInstance",
|
301
|
-
"type": "address"
|
302
|
-
},
|
303
|
-
{
|
304
|
-
"indexed": false,
|
305
|
-
"internalType": "address",
|
306
|
-
"name": "clonedInstanceStore",
|
307
|
-
"type": "address"
|
308
|
-
},
|
309
|
-
{
|
310
|
-
"indexed": false,
|
311
|
-
"internalType": "address",
|
312
|
-
"name": "clonedBundleManager",
|
313
|
-
"type": "address"
|
392
|
+
"internalType": "NftId",
|
393
|
+
"name": "instanceNftId",
|
394
|
+
"type": "uint96"
|
314
395
|
},
|
315
396
|
{
|
316
397
|
"indexed": false,
|
317
398
|
"internalType": "address",
|
318
|
-
"name": "
|
399
|
+
"name": "instance",
|
319
400
|
"type": "address"
|
320
|
-
},
|
321
|
-
{
|
322
|
-
"indexed": false,
|
323
|
-
"internalType": "NftId",
|
324
|
-
"name": "clonedInstanceNftId",
|
325
|
-
"type": "uint96"
|
326
401
|
}
|
327
402
|
],
|
328
403
|
"name": "LogInstanceCloned",
|
@@ -343,33 +418,40 @@
|
|
343
418
|
},
|
344
419
|
{
|
345
420
|
"inputs": [
|
346
|
-
{
|
347
|
-
"internalType": "NftId",
|
348
|
-
"name": "instanceNftId",
|
349
|
-
"type": "uint96"
|
350
|
-
},
|
351
421
|
{
|
352
422
|
"internalType": "address",
|
353
|
-
"name": "
|
423
|
+
"name": "target",
|
354
424
|
"type": "address"
|
355
425
|
},
|
356
426
|
{
|
357
|
-
"internalType": "
|
358
|
-
"name": "
|
359
|
-
"type": "
|
427
|
+
"internalType": "RoleId",
|
428
|
+
"name": "roleId",
|
429
|
+
"type": "uint64"
|
360
430
|
},
|
361
431
|
{
|
362
|
-
"
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
432
|
+
"components": [
|
433
|
+
{
|
434
|
+
"internalType": "Str",
|
435
|
+
"name": "name",
|
436
|
+
"type": "bytes32"
|
437
|
+
},
|
438
|
+
{
|
439
|
+
"internalType": "Selector",
|
440
|
+
"name": "selector",
|
441
|
+
"type": "bytes4"
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"internalType": "Timestamp",
|
445
|
+
"name": "createdAt",
|
446
|
+
"type": "uint40"
|
447
|
+
}
|
448
|
+
],
|
449
|
+
"internalType": "struct IAccess.FunctionInfo[]",
|
450
|
+
"name": "functions",
|
451
|
+
"type": "tuple[]"
|
370
452
|
}
|
371
453
|
],
|
372
|
-
"name": "
|
454
|
+
"name": "authorizeFunctions",
|
373
455
|
"outputs": [],
|
374
456
|
"stateMutability": "nonpayable",
|
375
457
|
"type": "function"
|
@@ -377,49 +459,75 @@
|
|
377
459
|
{
|
378
460
|
"inputs": [
|
379
461
|
{
|
380
|
-
"internalType": "
|
381
|
-
"name": "
|
382
|
-
"type": "
|
383
|
-
}
|
462
|
+
"internalType": "bool",
|
463
|
+
"name": "allowAnyToken",
|
464
|
+
"type": "bool"
|
465
|
+
}
|
466
|
+
],
|
467
|
+
"name": "createInstance",
|
468
|
+
"outputs": [
|
384
469
|
{
|
385
|
-
"internalType": "
|
386
|
-
"name": "
|
470
|
+
"internalType": "contract IInstance",
|
471
|
+
"name": "instance",
|
387
472
|
"type": "address"
|
388
473
|
},
|
474
|
+
{
|
475
|
+
"internalType": "NftId",
|
476
|
+
"name": "instanceNftId",
|
477
|
+
"type": "uint96"
|
478
|
+
}
|
479
|
+
],
|
480
|
+
"stateMutability": "nonpayable",
|
481
|
+
"type": "function"
|
482
|
+
},
|
483
|
+
{
|
484
|
+
"inputs": [
|
389
485
|
{
|
390
486
|
"internalType": "string",
|
391
|
-
"name": "
|
487
|
+
"name": "roleName",
|
392
488
|
"type": "string"
|
393
489
|
},
|
394
490
|
{
|
395
|
-
"internalType": "
|
396
|
-
"name": "
|
397
|
-
"type": "
|
491
|
+
"internalType": "RoleId",
|
492
|
+
"name": "adminRoleId",
|
493
|
+
"type": "uint64"
|
398
494
|
},
|
399
495
|
{
|
400
|
-
"internalType": "
|
401
|
-
"name": "
|
402
|
-
"type": "
|
496
|
+
"internalType": "uint32",
|
497
|
+
"name": "maxMemberCount",
|
498
|
+
"type": "uint32"
|
499
|
+
}
|
500
|
+
],
|
501
|
+
"name": "createRole",
|
502
|
+
"outputs": [
|
503
|
+
{
|
504
|
+
"internalType": "RoleId",
|
505
|
+
"name": "roleId",
|
506
|
+
"type": "uint64"
|
403
507
|
}
|
404
508
|
],
|
405
|
-
"name": "createGifTarget",
|
406
|
-
"outputs": [],
|
407
509
|
"stateMutability": "nonpayable",
|
408
510
|
"type": "function"
|
409
511
|
},
|
410
512
|
{
|
411
|
-
"inputs": [
|
412
|
-
"name": "createInstanceClone",
|
413
|
-
"outputs": [
|
513
|
+
"inputs": [
|
414
514
|
{
|
415
|
-
"internalType": "
|
416
|
-
"name": "
|
515
|
+
"internalType": "address",
|
516
|
+
"name": "target",
|
417
517
|
"type": "address"
|
418
518
|
},
|
419
519
|
{
|
420
|
-
"internalType": "
|
421
|
-
"name": "
|
422
|
-
"type": "
|
520
|
+
"internalType": "string",
|
521
|
+
"name": "name",
|
522
|
+
"type": "string"
|
523
|
+
}
|
524
|
+
],
|
525
|
+
"name": "createTarget",
|
526
|
+
"outputs": [
|
527
|
+
{
|
528
|
+
"internalType": "RoleId",
|
529
|
+
"name": "contractRoleId",
|
530
|
+
"type": "uint64"
|
423
531
|
}
|
424
532
|
],
|
425
533
|
"stateMutability": "nonpayable",
|
@@ -527,6 +635,32 @@
|
|
527
635
|
"stateMutability": "view",
|
528
636
|
"type": "function"
|
529
637
|
},
|
638
|
+
{
|
639
|
+
"inputs": [],
|
640
|
+
"name": "getRelease",
|
641
|
+
"outputs": [
|
642
|
+
{
|
643
|
+
"internalType": "VersionPart",
|
644
|
+
"name": "release",
|
645
|
+
"type": "uint8"
|
646
|
+
}
|
647
|
+
],
|
648
|
+
"stateMutability": "view",
|
649
|
+
"type": "function"
|
650
|
+
},
|
651
|
+
{
|
652
|
+
"inputs": [],
|
653
|
+
"name": "getRoleId",
|
654
|
+
"outputs": [
|
655
|
+
{
|
656
|
+
"internalType": "RoleId",
|
657
|
+
"name": "serviceRoleId",
|
658
|
+
"type": "uint64"
|
659
|
+
}
|
660
|
+
],
|
661
|
+
"stateMutability": "view",
|
662
|
+
"type": "function"
|
663
|
+
},
|
530
664
|
{
|
531
665
|
"inputs": [],
|
532
666
|
"name": "getVersion",
|
@@ -540,6 +674,24 @@
|
|
540
674
|
"stateMutability": "pure",
|
541
675
|
"type": "function"
|
542
676
|
},
|
677
|
+
{
|
678
|
+
"inputs": [
|
679
|
+
{
|
680
|
+
"internalType": "RoleId",
|
681
|
+
"name": "roleId",
|
682
|
+
"type": "uint64"
|
683
|
+
},
|
684
|
+
{
|
685
|
+
"internalType": "address",
|
686
|
+
"name": "account",
|
687
|
+
"type": "address"
|
688
|
+
}
|
689
|
+
],
|
690
|
+
"name": "grantRole",
|
691
|
+
"outputs": [],
|
692
|
+
"stateMutability": "nonpayable",
|
693
|
+
"type": "function"
|
694
|
+
},
|
543
695
|
{
|
544
696
|
"inputs": [
|
545
697
|
{
|
@@ -558,6 +710,19 @@
|
|
558
710
|
"stateMutability": "nonpayable",
|
559
711
|
"type": "function"
|
560
712
|
},
|
713
|
+
{
|
714
|
+
"inputs": [],
|
715
|
+
"name": "isActive",
|
716
|
+
"outputs": [
|
717
|
+
{
|
718
|
+
"internalType": "bool",
|
719
|
+
"name": "active",
|
720
|
+
"type": "bool"
|
721
|
+
}
|
722
|
+
],
|
723
|
+
"stateMutability": "view",
|
724
|
+
"type": "function"
|
725
|
+
},
|
561
726
|
{
|
562
727
|
"inputs": [],
|
563
728
|
"name": "isConsumingScheduledOp",
|
@@ -584,6 +749,42 @@
|
|
584
749
|
"stateMutability": "nonpayable",
|
585
750
|
"type": "function"
|
586
751
|
},
|
752
|
+
{
|
753
|
+
"inputs": [
|
754
|
+
{
|
755
|
+
"internalType": "address",
|
756
|
+
"name": "rewardProvider",
|
757
|
+
"type": "address"
|
758
|
+
},
|
759
|
+
{
|
760
|
+
"internalType": "Amount",
|
761
|
+
"name": "dipAmount",
|
762
|
+
"type": "uint96"
|
763
|
+
}
|
764
|
+
],
|
765
|
+
"name": "refillStakingRewardReserves",
|
766
|
+
"outputs": [],
|
767
|
+
"stateMutability": "nonpayable",
|
768
|
+
"type": "function"
|
769
|
+
},
|
770
|
+
{
|
771
|
+
"inputs": [
|
772
|
+
{
|
773
|
+
"internalType": "RoleId",
|
774
|
+
"name": "roleId",
|
775
|
+
"type": "uint64"
|
776
|
+
},
|
777
|
+
{
|
778
|
+
"internalType": "address",
|
779
|
+
"name": "account",
|
780
|
+
"type": "address"
|
781
|
+
}
|
782
|
+
],
|
783
|
+
"name": "revokeRole",
|
784
|
+
"outputs": [],
|
785
|
+
"stateMutability": "nonpayable",
|
786
|
+
"type": "function"
|
787
|
+
},
|
587
788
|
{
|
588
789
|
"inputs": [
|
589
790
|
{
|
@@ -605,7 +806,82 @@
|
|
605
806
|
"type": "bool"
|
606
807
|
}
|
607
808
|
],
|
608
|
-
"name": "
|
809
|
+
"name": "setInstanceLocked",
|
810
|
+
"outputs": [],
|
811
|
+
"stateMutability": "nonpayable",
|
812
|
+
"type": "function"
|
813
|
+
},
|
814
|
+
{
|
815
|
+
"inputs": [
|
816
|
+
{
|
817
|
+
"internalType": "RoleId",
|
818
|
+
"name": "roleId",
|
819
|
+
"type": "uint64"
|
820
|
+
},
|
821
|
+
{
|
822
|
+
"internalType": "bool",
|
823
|
+
"name": "active",
|
824
|
+
"type": "bool"
|
825
|
+
}
|
826
|
+
],
|
827
|
+
"name": "setRoleActive",
|
828
|
+
"outputs": [],
|
829
|
+
"stateMutability": "nonpayable",
|
830
|
+
"type": "function"
|
831
|
+
},
|
832
|
+
{
|
833
|
+
"inputs": [
|
834
|
+
{
|
835
|
+
"internalType": "Seconds",
|
836
|
+
"name": "stakeLockingPeriod",
|
837
|
+
"type": "uint40"
|
838
|
+
}
|
839
|
+
],
|
840
|
+
"name": "setStakingLockingPeriod",
|
841
|
+
"outputs": [],
|
842
|
+
"stateMutability": "nonpayable",
|
843
|
+
"type": "function"
|
844
|
+
},
|
845
|
+
{
|
846
|
+
"inputs": [
|
847
|
+
{
|
848
|
+
"internalType": "Amount",
|
849
|
+
"name": "maxStakedAmount",
|
850
|
+
"type": "uint96"
|
851
|
+
}
|
852
|
+
],
|
853
|
+
"name": "setStakingMaxAmount",
|
854
|
+
"outputs": [],
|
855
|
+
"stateMutability": "nonpayable",
|
856
|
+
"type": "function"
|
857
|
+
},
|
858
|
+
{
|
859
|
+
"inputs": [
|
860
|
+
{
|
861
|
+
"internalType": "UFixed",
|
862
|
+
"name": "rewardRate",
|
863
|
+
"type": "uint160"
|
864
|
+
}
|
865
|
+
],
|
866
|
+
"name": "setStakingRewardRate",
|
867
|
+
"outputs": [],
|
868
|
+
"stateMutability": "nonpayable",
|
869
|
+
"type": "function"
|
870
|
+
},
|
871
|
+
{
|
872
|
+
"inputs": [
|
873
|
+
{
|
874
|
+
"internalType": "address",
|
875
|
+
"name": "target",
|
876
|
+
"type": "address"
|
877
|
+
},
|
878
|
+
{
|
879
|
+
"internalType": "bool",
|
880
|
+
"name": "locked",
|
881
|
+
"type": "bool"
|
882
|
+
}
|
883
|
+
],
|
884
|
+
"name": "setTargetLocked",
|
609
885
|
"outputs": [],
|
610
886
|
"stateMutability": "nonpayable",
|
611
887
|
"type": "function"
|
@@ -629,6 +905,61 @@
|
|
629
905
|
"stateMutability": "view",
|
630
906
|
"type": "function"
|
631
907
|
},
|
908
|
+
{
|
909
|
+
"inputs": [
|
910
|
+
{
|
911
|
+
"internalType": "address",
|
912
|
+
"name": "target",
|
913
|
+
"type": "address"
|
914
|
+
},
|
915
|
+
{
|
916
|
+
"components": [
|
917
|
+
{
|
918
|
+
"internalType": "Str",
|
919
|
+
"name": "name",
|
920
|
+
"type": "bytes32"
|
921
|
+
},
|
922
|
+
{
|
923
|
+
"internalType": "Selector",
|
924
|
+
"name": "selector",
|
925
|
+
"type": "bytes4"
|
926
|
+
},
|
927
|
+
{
|
928
|
+
"internalType": "Timestamp",
|
929
|
+
"name": "createdAt",
|
930
|
+
"type": "uint40"
|
931
|
+
}
|
932
|
+
],
|
933
|
+
"internalType": "struct IAccess.FunctionInfo[]",
|
934
|
+
"name": "functions",
|
935
|
+
"type": "tuple[]"
|
936
|
+
}
|
937
|
+
],
|
938
|
+
"name": "unauthorizeFunctions",
|
939
|
+
"outputs": [],
|
940
|
+
"stateMutability": "nonpayable",
|
941
|
+
"type": "function"
|
942
|
+
},
|
943
|
+
{
|
944
|
+
"inputs": [],
|
945
|
+
"name": "upgradeInstanceReader",
|
946
|
+
"outputs": [],
|
947
|
+
"stateMutability": "nonpayable",
|
948
|
+
"type": "function"
|
949
|
+
},
|
950
|
+
{
|
951
|
+
"inputs": [
|
952
|
+
{
|
953
|
+
"internalType": "address",
|
954
|
+
"name": "instanceReaderAddress",
|
955
|
+
"type": "address"
|
956
|
+
}
|
957
|
+
],
|
958
|
+
"name": "upgradeMasterInstanceReader",
|
959
|
+
"outputs": [],
|
960
|
+
"stateMutability": "nonpayable",
|
961
|
+
"type": "function"
|
962
|
+
},
|
632
963
|
{
|
633
964
|
"inputs": [
|
634
965
|
{
|
@@ -641,6 +972,25 @@
|
|
641
972
|
"outputs": [],
|
642
973
|
"stateMutability": "nonpayable",
|
643
974
|
"type": "function"
|
975
|
+
},
|
976
|
+
{
|
977
|
+
"inputs": [
|
978
|
+
{
|
979
|
+
"internalType": "Amount",
|
980
|
+
"name": "dipAmount",
|
981
|
+
"type": "uint96"
|
982
|
+
}
|
983
|
+
],
|
984
|
+
"name": "withdrawStakingRewardReserves",
|
985
|
+
"outputs": [
|
986
|
+
{
|
987
|
+
"internalType": "Amount",
|
988
|
+
"name": "newBalance",
|
989
|
+
"type": "uint96"
|
990
|
+
}
|
991
|
+
],
|
992
|
+
"stateMutability": "nonpayable",
|
993
|
+
"type": "function"
|
644
994
|
}
|
645
995
|
],
|
646
996
|
"bytecode": "0x",
|