@etherisc/gif-next 0.0.2-ff282a4-523 → 0.0.2-ff596ab-857
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +133 -10
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1244 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +174 -601
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +788 -535
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +278 -128
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +178 -330
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +622 -178
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1484 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2053 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1439 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1647 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2585 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +595 -96
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +522 -56
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +594 -219
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1833 -761
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +542 -193
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +210 -94
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1647 -702
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
- package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1242 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +550 -400
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +272 -102
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +384 -86
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +233 -423
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +749 -377
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +247 -629
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +954 -743
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +271 -113
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +370 -252
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +231 -89
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +491 -341
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +253 -115
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +320 -9
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +369 -18
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +454 -69
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +217 -75
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +380 -225
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +289 -66
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +507 -384
- 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 +237 -123
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +261 -333
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +235 -109
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +428 -509
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +478 -61
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +280 -127
- 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 +920 -125
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2160 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +332 -245
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +208 -92
- 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 +361 -125
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +128 -296
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1076 -156
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +862 -0
- 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 +129 -135
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +52 -20
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +42 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -30
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +173 -0
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +103 -2
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -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 +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +45 -55
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +20 -124
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +148 -90
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +96 -102
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +615 -6
- 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 +2576 -128
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +705 -103
- package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
- package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +2914 -226
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +298 -74
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +754 -207
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +218 -84
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
- package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +122 -5
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +92 -15
- package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +119 -58
- 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 +66 -4
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +153 -4
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +121 -23
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +167 -2
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
- package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +37 -5
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +126 -33
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
- package/contracts/accounting/AccountingService.sol +274 -0
- package/contracts/accounting/AccountingServiceManager.sol +38 -0
- package/contracts/accounting/IAccountingService.sol +47 -0
- package/contracts/authorization/AccessAdmin.sol +780 -0
- package/contracts/authorization/AccessAdminLib.sol +396 -0
- package/contracts/authorization/AccessManagerCloneable.sol +158 -0
- package/contracts/authorization/Authorization.sol +169 -0
- package/contracts/authorization/IAccess.sol +67 -0
- package/contracts/authorization/IAccessAdmin.sol +144 -0
- package/contracts/authorization/IAuthorization.sol +26 -0
- package/contracts/authorization/IServiceAuthorization.sol +78 -0
- package/contracts/authorization/ServiceAuthorization.sol +320 -0
- package/contracts/distribution/BasicDistribution.sol +141 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
- package/contracts/distribution/Distribution.sol +137 -175
- package/contracts/distribution/DistributionService.sol +314 -215
- package/contracts/distribution/DistributionServiceManager.sol +13 -25
- package/contracts/distribution/IDistributionComponent.sol +23 -49
- package/contracts/distribution/IDistributionService.sol +61 -33
- package/contracts/examples/fire/DamageLevel.sol +59 -0
- package/contracts/examples/fire/FirePool.sol +86 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
- package/contracts/examples/fire/FireProduct.sol +433 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
- package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
- package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +130 -0
- package/contracts/instance/IInstance.sol +117 -49
- package/contracts/instance/IInstanceService.sol +81 -37
- package/contracts/instance/Instance.sol +252 -134
- package/contracts/instance/InstanceAdmin.sol +383 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
- package/contracts/instance/InstanceReader.sol +505 -241
- package/contracts/instance/InstanceService.sol +388 -196
- package/contracts/instance/InstanceServiceManager.sol +14 -29
- package/contracts/instance/InstanceStore.sol +151 -64
- package/contracts/instance/RiskSet.sol +126 -0
- package/contracts/instance/base/BalanceStore.sol +121 -0
- package/contracts/instance/base/Cloneable.sol +2 -25
- package/contracts/instance/base/ObjectCounter.sol +20 -0
- package/contracts/instance/base/ObjectLifecycle.sol +109 -0
- package/contracts/instance/base/ObjectSet.sol +77 -0
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IBundle.sol +6 -8
- package/contracts/instance/module/IComponents.sol +40 -19
- package/contracts/instance/module/IDistribution.sol +21 -9
- package/contracts/instance/module/IPolicy.sol +57 -30
- package/contracts/instance/module/IRisk.sol +5 -0
- package/contracts/mock/Dip.sol +26 -0
- package/contracts/oracle/BasicOracle.sol +45 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
- package/contracts/oracle/IOracle.sol +41 -0
- package/contracts/oracle/IOracleComponent.sol +33 -0
- package/contracts/oracle/IOracleService.sol +66 -0
- package/contracts/oracle/Oracle.sol +154 -0
- package/contracts/oracle/OracleService.sol +310 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +162 -0
- package/contracts/pool/BasicPoolAuthorization.sol +81 -0
- package/contracts/pool/BundleService.sol +250 -246
- package/contracts/pool/BundleServiceManager.sol +13 -25
- package/contracts/pool/IBundleService.sol +47 -49
- package/contracts/pool/IPoolComponent.sol +23 -75
- package/contracts/pool/IPoolService.sol +112 -56
- package/contracts/pool/Pool.sol +200 -169
- package/contracts/pool/PoolLib.sol +341 -0
- package/contracts/pool/PoolService.sol +475 -264
- package/contracts/pool/PoolServiceManager.sol +12 -24
- package/contracts/product/ApplicationService.sol +222 -81
- package/contracts/product/ApplicationServiceManager.sol +12 -9
- package/contracts/product/BasicProduct.sol +49 -0
- package/contracts/product/BasicProductAuthorization.sol +63 -0
- package/contracts/product/ClaimService.sol +389 -201
- package/contracts/product/ClaimServiceManager.sol +12 -9
- package/contracts/product/IApplicationService.sol +30 -4
- package/contracts/product/IClaimService.sol +52 -9
- package/contracts/product/IPolicyService.sol +62 -40
- package/contracts/product/IPricingService.sol +14 -11
- package/contracts/product/IProductComponent.sol +31 -10
- package/contracts/product/IRiskService.sol +48 -0
- package/contracts/product/PolicyService.sol +503 -234
- package/contracts/product/PolicyServiceLib.sol +139 -0
- package/contracts/product/PolicyServiceManager.sol +12 -27
- package/contracts/product/PricingService.sol +133 -102
- package/contracts/product/PricingServiceManager.sol +12 -24
- package/contracts/product/Product.sol +267 -153
- package/contracts/product/RiskService.sol +190 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +72 -39
- package/contracts/registry/IRegistry.sol +100 -38
- package/contracts/registry/IRegistryService.sol +28 -35
- package/contracts/registry/IRelease.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -2
- package/contracts/registry/Registry.sol +453 -222
- package/contracts/registry/RegistryAdmin.sol +191 -0
- package/contracts/registry/RegistryAuthorization.sol +336 -0
- package/contracts/registry/RegistryService.sol +75 -138
- package/contracts/registry/RegistryServiceManager.sol +23 -30
- package/contracts/registry/ReleaseAdmin.sol +195 -0
- package/contracts/registry/ReleaseLifecycle.sol +32 -0
- package/contracts/registry/ReleaseRegistry.sol +525 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
- package/contracts/registry/TokenRegistry.sol +264 -63
- package/contracts/shared/Component.sol +126 -183
- package/contracts/shared/ComponentService.sol +636 -99
- package/contracts/shared/ComponentServiceManager.sol +38 -0
- package/contracts/shared/ContractLib.sol +312 -0
- package/contracts/shared/IComponent.sol +18 -50
- package/contracts/shared/IComponentService.sol +111 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +7 -6
- package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
- package/contracts/shared/INftOwnable.sol +5 -1
- package/contracts/shared/IPolicyHolder.sol +12 -17
- package/contracts/shared/IRegisterable.sol +22 -1
- package/contracts/shared/IService.sol +11 -6
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
- package/contracts/shared/InstanceLinkedComponent.sol +194 -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 +35 -24
- package/contracts/shared/PolicyHolder.sol +19 -50
- package/contracts/shared/Registerable.sol +54 -23
- package/contracts/shared/RegistryLinked.sol +9 -14
- package/contracts/shared/Service.sol +36 -41
- package/contracts/shared/TokenHandler.sol +320 -13
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +358 -6
- package/contracts/staking/IStakingService.sol +98 -76
- package/contracts/staking/ITargetLimitHandler.sol +17 -0
- package/contracts/staking/Staking.sol +761 -27
- package/contracts/staking/StakingLib.sol +195 -0
- package/contracts/staking/StakingManager.sol +27 -18
- package/contracts/staking/StakingReader.sol +171 -0
- package/contracts/staking/StakingService.sol +175 -58
- package/contracts/staking/StakingServiceManager.sol +13 -8
- package/contracts/staking/StakingStore.sol +1368 -0
- package/contracts/staking/TargetHandler.sol +132 -0
- package/contracts/staking/TargetManagerLib.sol +234 -0
- package/contracts/type/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +48 -3
- package/contracts/type/Blocknumber.sol +36 -13
- package/contracts/type/ChainId.sol +101 -0
- package/contracts/type/ClaimId.sol +6 -1
- package/contracts/type/Fee.sol +22 -21
- package/contracts/type/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/type/NftId.sol +21 -16
- package/contracts/type/NftIdSet.sol +1 -1
- package/contracts/type/ObjectType.sol +204 -63
- package/contracts/type/PayoutId.sol +10 -10
- package/contracts/type/Referral.sol +2 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/type/RiskId.sol +39 -7
- package/contracts/type/RoleId.sol +122 -74
- package/contracts/type/Seconds.sol +67 -1
- package/contracts/type/Selector.sol +107 -0
- package/contracts/type/StateId.sol +41 -2
- package/contracts/type/String.sol +65 -0
- package/contracts/type/Timestamp.sol +20 -9
- package/contracts/type/UFixed.sol +62 -125
- package/contracts/type/Version.sol +58 -7
- package/contracts/{shared → upgradeability}/IVersionable.sol +3 -0
- package/contracts/{shared → upgradeability}/ProxyManager.sol +115 -38
- package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
- package/contracts/{shared → upgradeability}/Versionable.sol +8 -5
- package/package.json +12 -8
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -581
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
- 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 -864
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -640
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -620
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -569
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
- package/contracts/instance/BundleManager.sol +0 -126
- package/contracts/instance/InstanceAccessManager.sol +0 -543
- package/contracts/instance/InstanceAuthorizationsLib.sol +0 -308
- package/contracts/instance/base/KeyValueStore.sol +0 -169
- package/contracts/instance/base/Lifecycle.sol +0 -121
- package/contracts/instance/base/ObjectManager.sol +0 -82
- package/contracts/instance/module/IAccess.sol +0 -54
- package/contracts/instance/module/ISetup.sol +0 -33
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/product/IProductService.sol +0 -40
- package/contracts/product/ProductService.sol +0 -210
- package/contracts/product/ProductServiceManager.sol +0 -54
- package/contracts/registry/RegistryAccessManager.sol +0 -207
- package/contracts/registry/ReleaseManager.sol +0 -360
- package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
- package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
@@ -41,6 +41,17 @@
|
|
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
57
|
{
|
@@ -68,6 +79,22 @@
|
|
68
79
|
"name": "ErrorNftOwnableInitialOwnerZero",
|
69
80
|
"type": "error"
|
70
81
|
},
|
82
|
+
{
|
83
|
+
"inputs": [
|
84
|
+
{
|
85
|
+
"internalType": "NftId",
|
86
|
+
"name": "nftId",
|
87
|
+
"type": "uint96"
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"internalType": "ObjectType",
|
91
|
+
"name": "expectedObjectType",
|
92
|
+
"type": "uint8"
|
93
|
+
}
|
94
|
+
],
|
95
|
+
"name": "ErrorNftOwnableInvalidType",
|
96
|
+
"type": "error"
|
97
|
+
},
|
71
98
|
{
|
72
99
|
"inputs": [
|
73
100
|
{
|
@@ -92,43 +119,517 @@
|
|
92
119
|
},
|
93
120
|
{
|
94
121
|
"inputs": [],
|
95
|
-
"name": "
|
122
|
+
"name": "ErrorRegisterableNotActive",
|
123
|
+
"type": "error"
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"inputs": [
|
127
|
+
{
|
128
|
+
"internalType": "NftId",
|
129
|
+
"name": "targetNftId",
|
130
|
+
"type": "uint96"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"internalType": "address",
|
134
|
+
"name": "tokenHandler",
|
135
|
+
"type": "address"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"internalType": "uint256",
|
139
|
+
"name": "amount",
|
140
|
+
"type": "uint256"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"internalType": "uint256",
|
144
|
+
"name": "allowance",
|
145
|
+
"type": "uint256"
|
146
|
+
}
|
147
|
+
],
|
148
|
+
"name": "ErrorStakingServiceDipAllowanceInsufficient",
|
149
|
+
"type": "error"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"inputs": [
|
153
|
+
{
|
154
|
+
"internalType": "NftId",
|
155
|
+
"name": "targetNftId",
|
156
|
+
"type": "uint96"
|
157
|
+
},
|
158
|
+
{
|
159
|
+
"internalType": "uint256",
|
160
|
+
"name": "amount",
|
161
|
+
"type": "uint256"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"internalType": "uint256",
|
165
|
+
"name": "balance",
|
166
|
+
"type": "uint256"
|
167
|
+
}
|
168
|
+
],
|
169
|
+
"name": "ErrorStakingServiceDipBalanceInsufficient",
|
170
|
+
"type": "error"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"inputs": [
|
174
|
+
{
|
175
|
+
"internalType": "NftId",
|
176
|
+
"name": "targetNftId",
|
177
|
+
"type": "uint96"
|
178
|
+
}
|
179
|
+
],
|
180
|
+
"name": "ErrorStakingServiceNotActiveTargetNftId",
|
181
|
+
"type": "error"
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"inputs": [
|
185
|
+
{
|
186
|
+
"internalType": "address",
|
187
|
+
"name": "stakingAddress",
|
188
|
+
"type": "address"
|
189
|
+
}
|
190
|
+
],
|
191
|
+
"name": "ErrorStakingServiceNotStaking",
|
192
|
+
"type": "error"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"inputs": [
|
196
|
+
{
|
197
|
+
"internalType": "address",
|
198
|
+
"name": "account",
|
199
|
+
"type": "address"
|
200
|
+
}
|
201
|
+
],
|
202
|
+
"name": "ErrorStakingServiceNotStakingOwner",
|
203
|
+
"type": "error"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"inputs": [
|
207
|
+
{
|
208
|
+
"internalType": "address",
|
209
|
+
"name": "stakingAddress",
|
210
|
+
"type": "address"
|
211
|
+
}
|
212
|
+
],
|
213
|
+
"name": "ErrorStakingServiceNotSupportingIStaking",
|
96
214
|
"type": "error"
|
97
215
|
},
|
98
216
|
{
|
99
217
|
"inputs": [
|
100
218
|
{
|
101
|
-
"internalType": "
|
102
|
-
"name": "
|
103
|
-
"type": "
|
219
|
+
"internalType": "NftId",
|
220
|
+
"name": "targetNftId",
|
221
|
+
"type": "uint96"
|
222
|
+
}
|
223
|
+
],
|
224
|
+
"name": "ErrorStakingServiceNotTargetNftId",
|
225
|
+
"type": "error"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"inputs": [
|
229
|
+
{
|
230
|
+
"internalType": "NftId",
|
231
|
+
"name": "targetNftId",
|
232
|
+
"type": "uint96"
|
233
|
+
}
|
234
|
+
],
|
235
|
+
"name": "ErrorStakingServiceTargetUnknown",
|
236
|
+
"type": "error"
|
237
|
+
},
|
238
|
+
{
|
239
|
+
"inputs": [],
|
240
|
+
"name": "ErrorStakingServiceZeroTargetNftId",
|
241
|
+
"type": "error"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"inputs": [],
|
245
|
+
"name": "ErrorVersionableInitializeNotImplemented",
|
246
|
+
"type": "error"
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"inputs": [],
|
250
|
+
"name": "ErrorVersionableUpgradeNotImplemented",
|
251
|
+
"type": "error"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"anonymous": false,
|
255
|
+
"inputs": [
|
256
|
+
{
|
257
|
+
"indexed": false,
|
258
|
+
"internalType": "address",
|
259
|
+
"name": "authority",
|
260
|
+
"type": "address"
|
261
|
+
}
|
262
|
+
],
|
263
|
+
"name": "AuthorityUpdated",
|
264
|
+
"type": "event"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"anonymous": false,
|
268
|
+
"inputs": [
|
269
|
+
{
|
270
|
+
"indexed": false,
|
271
|
+
"internalType": "NftId",
|
272
|
+
"name": "nftId",
|
273
|
+
"type": "uint96"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"indexed": false,
|
277
|
+
"internalType": "address",
|
278
|
+
"name": "owner",
|
279
|
+
"type": "address"
|
280
|
+
}
|
281
|
+
],
|
282
|
+
"name": "LogNftOwnableNftLinkedToAddress",
|
283
|
+
"type": "event"
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"anonymous": false,
|
287
|
+
"inputs": [
|
288
|
+
{
|
289
|
+
"indexed": false,
|
290
|
+
"internalType": "NftId",
|
291
|
+
"name": "instanceNftId",
|
292
|
+
"type": "uint96"
|
293
|
+
},
|
294
|
+
{
|
295
|
+
"indexed": false,
|
296
|
+
"internalType": "uint256",
|
297
|
+
"name": "chainId",
|
298
|
+
"type": "uint256"
|
299
|
+
}
|
300
|
+
],
|
301
|
+
"name": "LogStakingServiceInstanceTargetRegistered",
|
302
|
+
"type": "event"
|
303
|
+
},
|
304
|
+
{
|
305
|
+
"anonymous": false,
|
306
|
+
"inputs": [
|
307
|
+
{
|
308
|
+
"indexed": false,
|
309
|
+
"internalType": "NftId",
|
310
|
+
"name": "targetNftId",
|
311
|
+
"type": "uint96"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"indexed": false,
|
315
|
+
"internalType": "Seconds",
|
316
|
+
"name": "oldLockingDuration",
|
317
|
+
"type": "uint40"
|
318
|
+
},
|
319
|
+
{
|
320
|
+
"indexed": false,
|
321
|
+
"internalType": "Seconds",
|
322
|
+
"name": "lockingDuration",
|
323
|
+
"type": "uint40"
|
324
|
+
}
|
325
|
+
],
|
326
|
+
"name": "LogStakingServiceLockingPeriodSet",
|
327
|
+
"type": "event"
|
328
|
+
},
|
329
|
+
{
|
330
|
+
"anonymous": false,
|
331
|
+
"inputs": [
|
332
|
+
{
|
333
|
+
"indexed": false,
|
334
|
+
"internalType": "NftId",
|
335
|
+
"name": "protocolNftId",
|
336
|
+
"type": "uint96"
|
337
|
+
}
|
338
|
+
],
|
339
|
+
"name": "LogStakingServiceProtocolTargetRegistered",
|
340
|
+
"type": "event"
|
341
|
+
},
|
342
|
+
{
|
343
|
+
"anonymous": false,
|
344
|
+
"inputs": [
|
345
|
+
{
|
346
|
+
"indexed": false,
|
347
|
+
"internalType": "NftId",
|
348
|
+
"name": "targetNftId",
|
349
|
+
"type": "uint96"
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"indexed": false,
|
353
|
+
"internalType": "UFixed",
|
354
|
+
"name": "oldRewardRate",
|
355
|
+
"type": "uint160"
|
356
|
+
},
|
357
|
+
{
|
358
|
+
"indexed": false,
|
359
|
+
"internalType": "UFixed",
|
360
|
+
"name": "rewardRate",
|
361
|
+
"type": "uint160"
|
362
|
+
}
|
363
|
+
],
|
364
|
+
"name": "LogStakingServiceRewardRateSet",
|
365
|
+
"type": "event"
|
366
|
+
},
|
367
|
+
{
|
368
|
+
"anonymous": false,
|
369
|
+
"inputs": [
|
370
|
+
{
|
371
|
+
"indexed": false,
|
372
|
+
"internalType": "NftId",
|
373
|
+
"name": "targetNftId",
|
374
|
+
"type": "uint96"
|
375
|
+
},
|
376
|
+
{
|
377
|
+
"indexed": false,
|
378
|
+
"internalType": "address",
|
379
|
+
"name": "targetOwner",
|
380
|
+
"type": "address"
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"indexed": false,
|
384
|
+
"internalType": "Amount",
|
385
|
+
"name": "dipAmount",
|
386
|
+
"type": "uint96"
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"indexed": false,
|
390
|
+
"internalType": "Amount",
|
391
|
+
"name": "newBalance",
|
392
|
+
"type": "uint96"
|
393
|
+
}
|
394
|
+
],
|
395
|
+
"name": "LogStakingServiceRewardReservesDecreased",
|
396
|
+
"type": "event"
|
397
|
+
},
|
398
|
+
{
|
399
|
+
"anonymous": false,
|
400
|
+
"inputs": [
|
401
|
+
{
|
402
|
+
"indexed": false,
|
403
|
+
"internalType": "NftId",
|
404
|
+
"name": "targetNftId",
|
405
|
+
"type": "uint96"
|
406
|
+
},
|
407
|
+
{
|
408
|
+
"indexed": false,
|
409
|
+
"internalType": "address",
|
410
|
+
"name": "rewardProvider",
|
411
|
+
"type": "address"
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"indexed": false,
|
415
|
+
"internalType": "Amount",
|
416
|
+
"name": "dipAmount",
|
417
|
+
"type": "uint96"
|
418
|
+
},
|
419
|
+
{
|
420
|
+
"indexed": false,
|
421
|
+
"internalType": "Amount",
|
422
|
+
"name": "newBalance",
|
423
|
+
"type": "uint96"
|
424
|
+
}
|
425
|
+
],
|
426
|
+
"name": "LogStakingServiceRewardReservesIncreased",
|
427
|
+
"type": "event"
|
428
|
+
},
|
429
|
+
{
|
430
|
+
"anonymous": false,
|
431
|
+
"inputs": [
|
432
|
+
{
|
433
|
+
"indexed": false,
|
434
|
+
"internalType": "NftId",
|
435
|
+
"name": "stakeNftId",
|
436
|
+
"type": "uint96"
|
437
|
+
},
|
438
|
+
{
|
439
|
+
"indexed": false,
|
440
|
+
"internalType": "address",
|
441
|
+
"name": "stakeOwner",
|
442
|
+
"type": "address"
|
443
|
+
},
|
444
|
+
{
|
445
|
+
"indexed": false,
|
446
|
+
"internalType": "Amount",
|
447
|
+
"name": "rewardsClaimedAmount",
|
448
|
+
"type": "uint96"
|
449
|
+
}
|
450
|
+
],
|
451
|
+
"name": "LogStakingServiceRewardsClaimed",
|
452
|
+
"type": "event"
|
453
|
+
},
|
454
|
+
{
|
455
|
+
"anonymous": false,
|
456
|
+
"inputs": [
|
457
|
+
{
|
458
|
+
"indexed": false,
|
459
|
+
"internalType": "NftId",
|
460
|
+
"name": "stakeNftId",
|
461
|
+
"type": "uint96"
|
462
|
+
}
|
463
|
+
],
|
464
|
+
"name": "LogStakingServiceRewardsUpdated",
|
465
|
+
"type": "event"
|
466
|
+
},
|
467
|
+
{
|
468
|
+
"anonymous": false,
|
469
|
+
"inputs": [
|
470
|
+
{
|
471
|
+
"indexed": false,
|
472
|
+
"internalType": "NftId",
|
473
|
+
"name": "stakeNftId",
|
474
|
+
"type": "uint96"
|
475
|
+
},
|
476
|
+
{
|
477
|
+
"indexed": false,
|
478
|
+
"internalType": "NftId",
|
479
|
+
"name": "targetNftId",
|
480
|
+
"type": "uint96"
|
481
|
+
},
|
482
|
+
{
|
483
|
+
"indexed": false,
|
484
|
+
"internalType": "address",
|
485
|
+
"name": "owner",
|
486
|
+
"type": "address"
|
487
|
+
},
|
488
|
+
{
|
489
|
+
"indexed": false,
|
490
|
+
"internalType": "Amount",
|
491
|
+
"name": "stakedAmount",
|
492
|
+
"type": "uint96"
|
493
|
+
}
|
494
|
+
],
|
495
|
+
"name": "LogStakingServiceStakeCreated",
|
496
|
+
"type": "event"
|
497
|
+
},
|
498
|
+
{
|
499
|
+
"anonymous": false,
|
500
|
+
"inputs": [
|
501
|
+
{
|
502
|
+
"indexed": false,
|
503
|
+
"internalType": "NftId",
|
504
|
+
"name": "stakeNftId",
|
505
|
+
"type": "uint96"
|
506
|
+
},
|
507
|
+
{
|
508
|
+
"indexed": false,
|
509
|
+
"internalType": "address",
|
510
|
+
"name": "owner",
|
511
|
+
"type": "address"
|
512
|
+
},
|
513
|
+
{
|
514
|
+
"indexed": false,
|
515
|
+
"internalType": "Amount",
|
516
|
+
"name": "stakedAmount",
|
517
|
+
"type": "uint96"
|
518
|
+
},
|
519
|
+
{
|
520
|
+
"indexed": false,
|
521
|
+
"internalType": "Amount",
|
522
|
+
"name": "stakeBalance",
|
523
|
+
"type": "uint96"
|
524
|
+
}
|
525
|
+
],
|
526
|
+
"name": "LogStakingServiceStakeIncreased",
|
527
|
+
"type": "event"
|
528
|
+
},
|
529
|
+
{
|
530
|
+
"anonymous": false,
|
531
|
+
"inputs": [
|
532
|
+
{
|
533
|
+
"indexed": false,
|
534
|
+
"internalType": "NftId",
|
535
|
+
"name": "stakeNftId",
|
536
|
+
"type": "uint96"
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"indexed": false,
|
540
|
+
"internalType": "NftId",
|
541
|
+
"name": "targetNftId",
|
542
|
+
"type": "uint96"
|
543
|
+
},
|
544
|
+
{
|
545
|
+
"indexed": false,
|
546
|
+
"internalType": "address",
|
547
|
+
"name": "stakeOwner",
|
548
|
+
"type": "address"
|
549
|
+
}
|
550
|
+
],
|
551
|
+
"name": "LogStakingServiceStakeObjectCreated",
|
552
|
+
"type": "event"
|
553
|
+
},
|
554
|
+
{
|
555
|
+
"anonymous": false,
|
556
|
+
"inputs": [
|
557
|
+
{
|
558
|
+
"indexed": false,
|
559
|
+
"internalType": "address",
|
560
|
+
"name": "stakeOwner",
|
561
|
+
"type": "address"
|
562
|
+
},
|
563
|
+
{
|
564
|
+
"indexed": true,
|
565
|
+
"internalType": "NftId",
|
566
|
+
"name": "stakeNftId",
|
567
|
+
"type": "uint96"
|
568
|
+
},
|
569
|
+
{
|
570
|
+
"indexed": false,
|
571
|
+
"internalType": "NftId",
|
572
|
+
"name": "newStakeNftId",
|
573
|
+
"type": "uint96"
|
574
|
+
},
|
575
|
+
{
|
576
|
+
"indexed": true,
|
577
|
+
"internalType": "NftId",
|
578
|
+
"name": "newTargetNftId",
|
579
|
+
"type": "uint96"
|
580
|
+
},
|
581
|
+
{
|
582
|
+
"indexed": true,
|
583
|
+
"internalType": "Amount",
|
584
|
+
"name": "newStakeBalance",
|
585
|
+
"type": "uint96"
|
104
586
|
}
|
105
587
|
],
|
106
|
-
"name": "
|
107
|
-
"type": "
|
588
|
+
"name": "LogStakingServiceStakeRestaked",
|
589
|
+
"type": "event"
|
108
590
|
},
|
109
591
|
{
|
592
|
+
"anonymous": false,
|
110
593
|
"inputs": [
|
111
594
|
{
|
595
|
+
"indexed": false,
|
596
|
+
"internalType": "NftId",
|
597
|
+
"name": "stakeNftId",
|
598
|
+
"type": "uint96"
|
599
|
+
},
|
600
|
+
{
|
601
|
+
"indexed": false,
|
112
602
|
"internalType": "address",
|
113
|
-
"name": "
|
603
|
+
"name": "stakeOwner",
|
114
604
|
"type": "address"
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"indexed": false,
|
608
|
+
"internalType": "Amount",
|
609
|
+
"name": "totalAmount",
|
610
|
+
"type": "uint96"
|
115
611
|
}
|
116
612
|
],
|
117
|
-
"name": "
|
118
|
-
"type": "
|
613
|
+
"name": "LogStakingServiceUnstaked",
|
614
|
+
"type": "event"
|
119
615
|
},
|
120
616
|
{
|
121
|
-
"anonymous": false,
|
122
617
|
"inputs": [
|
123
618
|
{
|
124
|
-
"
|
125
|
-
"
|
126
|
-
"name": "authority",
|
619
|
+
"internalType": "contract IERC20Metadata",
|
620
|
+
"name": "token",
|
127
621
|
"type": "address"
|
622
|
+
},
|
623
|
+
{
|
624
|
+
"internalType": "Amount",
|
625
|
+
"name": "amount",
|
626
|
+
"type": "uint96"
|
128
627
|
}
|
129
628
|
],
|
130
|
-
"name": "
|
131
|
-
"
|
629
|
+
"name": "approveTokenHandler",
|
630
|
+
"outputs": [],
|
631
|
+
"stateMutability": "nonpayable",
|
632
|
+
"type": "function"
|
132
633
|
},
|
133
634
|
{
|
134
635
|
"inputs": [],
|
@@ -147,11 +648,21 @@
|
|
147
648
|
"inputs": [
|
148
649
|
{
|
149
650
|
"internalType": "NftId",
|
150
|
-
"name": "
|
651
|
+
"name": "targetNftId",
|
151
652
|
"type": "uint96"
|
653
|
+
},
|
654
|
+
{
|
655
|
+
"internalType": "Seconds",
|
656
|
+
"name": "initialLockingPeriod",
|
657
|
+
"type": "uint40"
|
658
|
+
},
|
659
|
+
{
|
660
|
+
"internalType": "UFixed",
|
661
|
+
"name": "initialRewardRate",
|
662
|
+
"type": "uint160"
|
152
663
|
}
|
153
664
|
],
|
154
|
-
"name": "
|
665
|
+
"name": "createInstanceTarget",
|
155
666
|
"outputs": [],
|
156
667
|
"stateMutability": "nonpayable",
|
157
668
|
"type": "function"
|
@@ -164,12 +675,12 @@
|
|
164
675
|
"type": "uint96"
|
165
676
|
},
|
166
677
|
{
|
167
|
-
"internalType": "
|
168
|
-
"name": "
|
169
|
-
"type": "
|
678
|
+
"internalType": "address",
|
679
|
+
"name": "initialOwner",
|
680
|
+
"type": "address"
|
170
681
|
}
|
171
682
|
],
|
172
|
-
"name": "
|
683
|
+
"name": "createStakeObject",
|
173
684
|
"outputs": [
|
174
685
|
{
|
175
686
|
"internalType": "NftId",
|
@@ -181,32 +692,16 @@
|
|
181
692
|
"type": "function"
|
182
693
|
},
|
183
694
|
{
|
184
|
-
"inputs": [
|
185
|
-
|
186
|
-
"internalType": "NftId",
|
187
|
-
"name": "targetNftId",
|
188
|
-
"type": "uint96"
|
189
|
-
},
|
190
|
-
{
|
191
|
-
"internalType": "address",
|
192
|
-
"name": "token",
|
193
|
-
"type": "address"
|
194
|
-
},
|
195
|
-
{
|
196
|
-
"internalType": "Amount",
|
197
|
-
"name": "amount",
|
198
|
-
"type": "uint96"
|
199
|
-
}
|
200
|
-
],
|
201
|
-
"name": "decreaseTotalValueLocked",
|
695
|
+
"inputs": [],
|
696
|
+
"name": "getDipToken",
|
202
697
|
"outputs": [
|
203
698
|
{
|
204
|
-
"internalType": "
|
205
|
-
"name": "
|
206
|
-
"type": "
|
699
|
+
"internalType": "contract IERC20Metadata",
|
700
|
+
"name": "dip",
|
701
|
+
"type": "address"
|
207
702
|
}
|
208
703
|
],
|
209
|
-
"stateMutability": "
|
704
|
+
"stateMutability": "view",
|
210
705
|
"type": "function"
|
211
706
|
},
|
212
707
|
{
|
@@ -313,57 +808,67 @@
|
|
313
808
|
},
|
314
809
|
{
|
315
810
|
"inputs": [],
|
316
|
-
"name": "
|
811
|
+
"name": "getRelease",
|
317
812
|
"outputs": [
|
318
813
|
{
|
319
|
-
"internalType": "
|
320
|
-
"name": "
|
321
|
-
"type": "
|
814
|
+
"internalType": "VersionPart",
|
815
|
+
"name": "release",
|
816
|
+
"type": "uint8"
|
322
817
|
}
|
323
818
|
],
|
324
|
-
"stateMutability": "
|
819
|
+
"stateMutability": "view",
|
325
820
|
"type": "function"
|
326
821
|
},
|
327
822
|
{
|
328
823
|
"inputs": [],
|
329
|
-
"name": "
|
824
|
+
"name": "getRoleId",
|
330
825
|
"outputs": [
|
331
826
|
{
|
332
|
-
"internalType": "
|
333
|
-
"name": "",
|
334
|
-
"type": "
|
827
|
+
"internalType": "RoleId",
|
828
|
+
"name": "serviceRoleId",
|
829
|
+
"type": "uint64"
|
335
830
|
}
|
336
831
|
],
|
337
|
-
"stateMutability": "
|
832
|
+
"stateMutability": "view",
|
338
833
|
"type": "function"
|
339
834
|
},
|
340
835
|
{
|
341
|
-
"inputs": [
|
342
|
-
|
343
|
-
|
344
|
-
"name": "targetNftId",
|
345
|
-
"type": "uint96"
|
346
|
-
},
|
836
|
+
"inputs": [],
|
837
|
+
"name": "getStaking",
|
838
|
+
"outputs": [
|
347
839
|
{
|
348
|
-
"internalType": "
|
349
|
-
"name": "
|
840
|
+
"internalType": "contract IStaking",
|
841
|
+
"name": "staking",
|
350
842
|
"type": "address"
|
351
|
-
}
|
843
|
+
}
|
844
|
+
],
|
845
|
+
"stateMutability": "view",
|
846
|
+
"type": "function"
|
847
|
+
},
|
848
|
+
{
|
849
|
+
"inputs": [],
|
850
|
+
"name": "getTokenHandler",
|
851
|
+
"outputs": [
|
352
852
|
{
|
353
|
-
"internalType": "
|
354
|
-
"name": "
|
355
|
-
"type": "
|
853
|
+
"internalType": "contract TokenHandler",
|
854
|
+
"name": "tokenHandler",
|
855
|
+
"type": "address"
|
356
856
|
}
|
357
857
|
],
|
358
|
-
"
|
858
|
+
"stateMutability": "view",
|
859
|
+
"type": "function"
|
860
|
+
},
|
861
|
+
{
|
862
|
+
"inputs": [],
|
863
|
+
"name": "getVersion",
|
359
864
|
"outputs": [
|
360
865
|
{
|
361
|
-
"internalType": "
|
362
|
-
"name": "
|
363
|
-
"type": "
|
866
|
+
"internalType": "Version",
|
867
|
+
"name": "",
|
868
|
+
"type": "uint24"
|
364
869
|
}
|
365
870
|
],
|
366
|
-
"stateMutability": "
|
871
|
+
"stateMutability": "pure",
|
367
872
|
"type": "function"
|
368
873
|
},
|
369
874
|
{
|
@@ -384,6 +889,19 @@
|
|
384
889
|
"stateMutability": "nonpayable",
|
385
890
|
"type": "function"
|
386
891
|
},
|
892
|
+
{
|
893
|
+
"inputs": [],
|
894
|
+
"name": "isActive",
|
895
|
+
"outputs": [
|
896
|
+
{
|
897
|
+
"internalType": "bool",
|
898
|
+
"name": "active",
|
899
|
+
"type": "bool"
|
900
|
+
}
|
901
|
+
],
|
902
|
+
"stateMutability": "view",
|
903
|
+
"type": "function"
|
904
|
+
},
|
387
905
|
{
|
388
906
|
"inputs": [],
|
389
907
|
"name": "isConsumingScheduledOp",
|
@@ -400,34 +918,76 @@
|
|
400
918
|
{
|
401
919
|
"inputs": [],
|
402
920
|
"name": "linkToRegisteredNftId",
|
403
|
-
"outputs": [
|
921
|
+
"outputs": [
|
922
|
+
{
|
923
|
+
"internalType": "NftId",
|
924
|
+
"name": "",
|
925
|
+
"type": "uint96"
|
926
|
+
}
|
927
|
+
],
|
404
928
|
"stateMutability": "nonpayable",
|
405
929
|
"type": "function"
|
406
930
|
},
|
407
931
|
{
|
408
932
|
"inputs": [
|
409
933
|
{
|
410
|
-
"internalType": "
|
411
|
-
"name": "
|
934
|
+
"internalType": "Amount",
|
935
|
+
"name": "dipAmount",
|
412
936
|
"type": "uint96"
|
413
937
|
},
|
414
938
|
{
|
415
|
-
"internalType": "
|
416
|
-
"name": "
|
939
|
+
"internalType": "address",
|
940
|
+
"name": "stakeOwner",
|
941
|
+
"type": "address"
|
942
|
+
}
|
943
|
+
],
|
944
|
+
"name": "pullDipToken",
|
945
|
+
"outputs": [],
|
946
|
+
"stateMutability": "nonpayable",
|
947
|
+
"type": "function"
|
948
|
+
},
|
949
|
+
{
|
950
|
+
"inputs": [
|
951
|
+
{
|
952
|
+
"internalType": "Amount",
|
953
|
+
"name": "dipAmount",
|
417
954
|
"type": "uint96"
|
955
|
+
},
|
956
|
+
{
|
957
|
+
"internalType": "address",
|
958
|
+
"name": "stakeOwner",
|
959
|
+
"type": "address"
|
418
960
|
}
|
419
961
|
],
|
420
|
-
"name": "
|
421
|
-
"outputs": [
|
962
|
+
"name": "pushDipToken",
|
963
|
+
"outputs": [],
|
964
|
+
"stateMutability": "nonpayable",
|
965
|
+
"type": "function"
|
966
|
+
},
|
967
|
+
{
|
968
|
+
"inputs": [
|
422
969
|
{
|
423
970
|
"internalType": "NftId",
|
424
|
-
"name": "
|
971
|
+
"name": "instanceNftId",
|
425
972
|
"type": "uint96"
|
426
973
|
},
|
427
974
|
{
|
428
|
-
"internalType": "
|
429
|
-
"name": "
|
430
|
-
"type": "
|
975
|
+
"internalType": "address",
|
976
|
+
"name": "rewardProvider",
|
977
|
+
"type": "address"
|
978
|
+
},
|
979
|
+
{
|
980
|
+
"internalType": "Amount",
|
981
|
+
"name": "dipAmount",
|
982
|
+
"type": "uint96"
|
983
|
+
}
|
984
|
+
],
|
985
|
+
"name": "refillInstanceRewardReserves",
|
986
|
+
"outputs": [
|
987
|
+
{
|
988
|
+
"internalType": "Amount",
|
989
|
+
"name": "newBalance",
|
990
|
+
"type": "uint96"
|
431
991
|
}
|
432
992
|
],
|
433
993
|
"stateMutability": "nonpayable",
|
@@ -450,21 +1010,34 @@
|
|
450
1010
|
"inputs": [
|
451
1011
|
{
|
452
1012
|
"internalType": "NftId",
|
453
|
-
"name": "
|
1013
|
+
"name": "instanceNftId",
|
454
1014
|
"type": "uint96"
|
455
1015
|
},
|
456
1016
|
{
|
457
|
-
"internalType": "
|
458
|
-
"name": "
|
459
|
-
"type": "
|
1017
|
+
"internalType": "Seconds",
|
1018
|
+
"name": "lockingPeriod",
|
1019
|
+
"type": "uint40"
|
1020
|
+
}
|
1021
|
+
],
|
1022
|
+
"name": "setInstanceLockingPeriod",
|
1023
|
+
"outputs": [],
|
1024
|
+
"stateMutability": "nonpayable",
|
1025
|
+
"type": "function"
|
1026
|
+
},
|
1027
|
+
{
|
1028
|
+
"inputs": [
|
1029
|
+
{
|
1030
|
+
"internalType": "NftId",
|
1031
|
+
"name": "instanceNftId",
|
1032
|
+
"type": "uint96"
|
460
1033
|
},
|
461
1034
|
{
|
462
1035
|
"internalType": "Amount",
|
463
|
-
"name": "
|
1036
|
+
"name": "maxStakingAmount",
|
464
1037
|
"type": "uint96"
|
465
1038
|
}
|
466
1039
|
],
|
467
|
-
"name": "
|
1040
|
+
"name": "setInstanceMaxStakedAmount",
|
468
1041
|
"outputs": [],
|
469
1042
|
"stateMutability": "nonpayable",
|
470
1043
|
"type": "function"
|
@@ -473,16 +1046,39 @@
|
|
473
1046
|
"inputs": [
|
474
1047
|
{
|
475
1048
|
"internalType": "NftId",
|
476
|
-
"name": "
|
1049
|
+
"name": "instanceNftId",
|
1050
|
+
"type": "uint96"
|
1051
|
+
},
|
1052
|
+
{
|
1053
|
+
"internalType": "UFixed",
|
1054
|
+
"name": "rewardRate",
|
1055
|
+
"type": "uint160"
|
1056
|
+
}
|
1057
|
+
],
|
1058
|
+
"name": "setInstanceRewardRate",
|
1059
|
+
"outputs": [],
|
1060
|
+
"stateMutability": "nonpayable",
|
1061
|
+
"type": "function"
|
1062
|
+
},
|
1063
|
+
{
|
1064
|
+
"inputs": [
|
1065
|
+
{
|
1066
|
+
"internalType": "NftId",
|
1067
|
+
"name": "targetNftId",
|
477
1068
|
"type": "uint96"
|
478
1069
|
},
|
1070
|
+
{
|
1071
|
+
"internalType": "address",
|
1072
|
+
"name": "token",
|
1073
|
+
"type": "address"
|
1074
|
+
},
|
479
1075
|
{
|
480
1076
|
"internalType": "Amount",
|
481
1077
|
"name": "amount",
|
482
1078
|
"type": "uint96"
|
483
1079
|
}
|
484
1080
|
],
|
485
|
-
"name": "
|
1081
|
+
"name": "setTotalValueLocked",
|
486
1082
|
"outputs": [],
|
487
1083
|
"stateMutability": "nonpayable",
|
488
1084
|
"type": "function"
|
@@ -509,17 +1105,12 @@
|
|
509
1105
|
{
|
510
1106
|
"inputs": [
|
511
1107
|
{
|
512
|
-
"internalType": "
|
513
|
-
"name": "
|
514
|
-
"type": "
|
515
|
-
},
|
516
|
-
{
|
517
|
-
"internalType": "Amount",
|
518
|
-
"name": "amount",
|
519
|
-
"type": "uint96"
|
1108
|
+
"internalType": "bytes",
|
1109
|
+
"name": "upgradeData",
|
1110
|
+
"type": "bytes"
|
520
1111
|
}
|
521
1112
|
],
|
522
|
-
"name": "
|
1113
|
+
"name": "upgradeVersionable",
|
523
1114
|
"outputs": [],
|
524
1115
|
"stateMutability": "nonpayable",
|
525
1116
|
"type": "function"
|
@@ -527,13 +1118,24 @@
|
|
527
1118
|
{
|
528
1119
|
"inputs": [
|
529
1120
|
{
|
530
|
-
"internalType": "
|
531
|
-
"name": "
|
532
|
-
"type": "
|
1121
|
+
"internalType": "NftId",
|
1122
|
+
"name": "instanceNftId",
|
1123
|
+
"type": "uint96"
|
1124
|
+
},
|
1125
|
+
{
|
1126
|
+
"internalType": "Amount",
|
1127
|
+
"name": "dipAmount",
|
1128
|
+
"type": "uint96"
|
1129
|
+
}
|
1130
|
+
],
|
1131
|
+
"name": "withdrawInstanceRewardReserves",
|
1132
|
+
"outputs": [
|
1133
|
+
{
|
1134
|
+
"internalType": "Amount",
|
1135
|
+
"name": "newBalance",
|
1136
|
+
"type": "uint96"
|
533
1137
|
}
|
534
1138
|
],
|
535
|
-
"name": "upgradeVersionable",
|
536
|
-
"outputs": [],
|
537
1139
|
"stateMutability": "nonpayable",
|
538
1140
|
"type": "function"
|
539
1141
|
}
|