@etherisc/gif-next 0.0.2-eadf4ad-726 → 0.0.2-eae585a-625
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +139 -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 +786 -533
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +239 -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/BaseStore.sol/BaseStore.dbg.json +4 -0
- package/artifacts/contracts/instance/BaseStore.sol/BaseStore.json +332 -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/IBaseStore.sol/IBaseStore.dbg.json +4 -0
- package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +604 -92
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +532 -56
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +657 -257
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2284 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +837 -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 +552 -193
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +171 -94
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1548 -1017
- package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
- package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +1539 -0
- 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 +233 -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 +232 -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 +192 -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 +214 -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 +198 -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 +196 -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 +456 -51
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +177 -65
- 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 +962 -174
- 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 +242 -196
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +162 -90
- 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 +89 -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 +575 -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 +4 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2757 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +732 -108
- 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 +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +3185 -0
- 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 +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +847 -0
- 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 +818 -241
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +182 -83
- 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 +313 -216
- package/contracts/distribution/DistributionServiceManager.sol +8 -23
- 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/BaseStore.sol +93 -0
- package/contracts/instance/BundleSet.sol +130 -0
- package/contracts/instance/IBaseStore.sol +37 -0
- package/contracts/instance/IInstance.sol +128 -49
- package/contracts/instance/IInstanceService.sol +83 -37
- package/contracts/instance/Instance.sol +254 -132
- package/contracts/instance/InstanceAdmin.sol +379 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +275 -0
- package/contracts/instance/InstanceReader.sol +507 -241
- package/contracts/instance/InstanceService.sol +418 -205
- package/contracts/instance/InstanceServiceManager.sol +8 -13
- package/contracts/instance/InstanceStore.sol +146 -89
- package/contracts/instance/ProductStore.sol +119 -0
- package/contracts/instance/RiskSet.sol +126 -0
- package/contracts/instance/TargetNames.sol +10 -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 +248 -246
- package/contracts/pool/BundleServiceManager.sol +8 -11
- 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 +477 -267
- package/contracts/pool/PoolServiceManager.sol +6 -9
- package/contracts/product/ApplicationService.sol +222 -82
- 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 +397 -214
- package/contracts/product/ClaimServiceManager.sol +6 -6
- 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 +504 -237
- package/contracts/product/PolicyServiceLib.sol +139 -0
- package/contracts/product/PolicyServiceManager.sol +6 -9
- package/contracts/product/PricingService.sol +132 -102
- package/contracts/product/PricingServiceManager.sol +6 -9
- 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 +79 -40
- package/contracts/registry/IRegistry.sol +98 -34
- package/contracts/registry/IRegistryService.sol +10 -6
- package/contracts/registry/IRelease.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -2
- package/contracts/registry/Registry.sol +457 -192
- package/contracts/registry/RegistryAdmin.sol +191 -0
- package/contracts/registry/RegistryAuthorization.sol +336 -0
- package/contracts/registry/RegistryService.sol +77 -67
- package/contracts/registry/RegistryServiceManager.sol +6 -25
- 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 +639 -93
- 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 +15 -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 +367 -0
- package/contracts/staking/IStakingService.sol +106 -81
- package/contracts/staking/ITargetLimitHandler.sol +17 -0
- package/contracts/staking/Staking.sol +798 -0
- package/contracts/staking/StakingLib.sol +195 -0
- package/contracts/staking/StakingManager.sol +53 -0
- package/contracts/staking/StakingReader.sol +171 -0
- package/contracts/staking/StakingService.sol +208 -56
- package/contracts/staking/StakingServiceManager.sol +14 -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 -59
- 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 -81
- 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 +101 -50
- 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 -679
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -238
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -846
- 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 -598
- 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 -212
- package/contracts/product/ProductServiceManager.sol +0 -42
- package/contracts/registry/RegistryAccessManager.sol +0 -132
- package/contracts/registry/ReleaseManager.sol +0 -382
- 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
|
{
|
@@ -71,42 +82,554 @@
|
|
71
82
|
{
|
72
83
|
"inputs": [
|
73
84
|
{
|
74
|
-
"internalType": "
|
75
|
-
"name": "
|
76
|
-
"type": "
|
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
|
+
},
|
98
|
+
{
|
99
|
+
"inputs": [
|
100
|
+
{
|
101
|
+
"internalType": "address",
|
102
|
+
"name": "account",
|
103
|
+
"type": "address"
|
104
|
+
}
|
105
|
+
],
|
106
|
+
"name": "ErrorNftOwnableNotOwner",
|
107
|
+
"type": "error"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"inputs": [
|
111
|
+
{
|
112
|
+
"internalType": "address",
|
113
|
+
"name": "registryAddress",
|
114
|
+
"type": "address"
|
115
|
+
}
|
116
|
+
],
|
117
|
+
"name": "ErrorNotRegistry",
|
118
|
+
"type": "error"
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"inputs": [],
|
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",
|
214
|
+
"type": "error"
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"inputs": [
|
218
|
+
{
|
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"
|
77
586
|
}
|
78
587
|
],
|
79
|
-
"name": "
|
80
|
-
"type": "
|
588
|
+
"name": "LogStakingServiceStakeRestaked",
|
589
|
+
"type": "event"
|
81
590
|
},
|
82
591
|
{
|
592
|
+
"anonymous": false,
|
83
593
|
"inputs": [
|
84
594
|
{
|
595
|
+
"indexed": false,
|
596
|
+
"internalType": "NftId",
|
597
|
+
"name": "stakeNftId",
|
598
|
+
"type": "uint96"
|
599
|
+
},
|
600
|
+
{
|
601
|
+
"indexed": false,
|
85
602
|
"internalType": "address",
|
86
|
-
"name": "
|
603
|
+
"name": "stakeOwner",
|
87
604
|
"type": "address"
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"indexed": false,
|
608
|
+
"internalType": "Amount",
|
609
|
+
"name": "totalAmount",
|
610
|
+
"type": "uint96"
|
88
611
|
}
|
89
612
|
],
|
90
|
-
"name": "
|
91
|
-
"type": "
|
92
|
-
},
|
93
|
-
{
|
94
|
-
"inputs": [],
|
95
|
-
"name": "ErrorServiceNotImplemented",
|
96
|
-
"type": "error"
|
613
|
+
"name": "LogStakingServiceUnstaked",
|
614
|
+
"type": "event"
|
97
615
|
},
|
98
616
|
{
|
99
|
-
"anonymous": false,
|
100
617
|
"inputs": [
|
101
618
|
{
|
102
|
-
"
|
103
|
-
"
|
104
|
-
"name": "authority",
|
619
|
+
"internalType": "contract IERC20Metadata",
|
620
|
+
"name": "token",
|
105
621
|
"type": "address"
|
622
|
+
},
|
623
|
+
{
|
624
|
+
"internalType": "Amount",
|
625
|
+
"name": "amount",
|
626
|
+
"type": "uint96"
|
106
627
|
}
|
107
628
|
],
|
108
|
-
"name": "
|
109
|
-
"
|
629
|
+
"name": "approveTokenHandler",
|
630
|
+
"outputs": [],
|
631
|
+
"stateMutability": "nonpayable",
|
632
|
+
"type": "function"
|
110
633
|
},
|
111
634
|
{
|
112
635
|
"inputs": [],
|
@@ -125,11 +648,21 @@
|
|
125
648
|
"inputs": [
|
126
649
|
{
|
127
650
|
"internalType": "NftId",
|
128
|
-
"name": "
|
651
|
+
"name": "targetNftId",
|
129
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"
|
130
663
|
}
|
131
664
|
],
|
132
|
-
"name": "
|
665
|
+
"name": "createInstanceTarget",
|
133
666
|
"outputs": [],
|
134
667
|
"stateMutability": "nonpayable",
|
135
668
|
"type": "function"
|
@@ -142,12 +675,12 @@
|
|
142
675
|
"type": "uint96"
|
143
676
|
},
|
144
677
|
{
|
145
|
-
"internalType": "
|
146
|
-
"name": "
|
147
|
-
"type": "
|
678
|
+
"internalType": "address",
|
679
|
+
"name": "initialOwner",
|
680
|
+
"type": "address"
|
148
681
|
}
|
149
682
|
],
|
150
|
-
"name": "
|
683
|
+
"name": "createStakeObject",
|
151
684
|
"outputs": [
|
152
685
|
{
|
153
686
|
"internalType": "NftId",
|
@@ -159,32 +692,16 @@
|
|
159
692
|
"type": "function"
|
160
693
|
},
|
161
694
|
{
|
162
|
-
"inputs": [
|
163
|
-
|
164
|
-
"internalType": "NftId",
|
165
|
-
"name": "targetNftId",
|
166
|
-
"type": "uint96"
|
167
|
-
},
|
168
|
-
{
|
169
|
-
"internalType": "address",
|
170
|
-
"name": "token",
|
171
|
-
"type": "address"
|
172
|
-
},
|
173
|
-
{
|
174
|
-
"internalType": "Amount",
|
175
|
-
"name": "amount",
|
176
|
-
"type": "uint96"
|
177
|
-
}
|
178
|
-
],
|
179
|
-
"name": "decreaseTotalValueLocked",
|
695
|
+
"inputs": [],
|
696
|
+
"name": "getDipToken",
|
180
697
|
"outputs": [
|
181
698
|
{
|
182
|
-
"internalType": "
|
183
|
-
"name": "
|
184
|
-
"type": "
|
699
|
+
"internalType": "contract IERC20Metadata",
|
700
|
+
"name": "dip",
|
701
|
+
"type": "address"
|
185
702
|
}
|
186
703
|
],
|
187
|
-
"stateMutability": "
|
704
|
+
"stateMutability": "view",
|
188
705
|
"type": "function"
|
189
706
|
},
|
190
707
|
{
|
@@ -291,44 +808,67 @@
|
|
291
808
|
},
|
292
809
|
{
|
293
810
|
"inputs": [],
|
294
|
-
"name": "
|
811
|
+
"name": "getRelease",
|
295
812
|
"outputs": [
|
296
813
|
{
|
297
|
-
"internalType": "
|
298
|
-
"name": "",
|
299
|
-
"type": "
|
814
|
+
"internalType": "VersionPart",
|
815
|
+
"name": "release",
|
816
|
+
"type": "uint8"
|
300
817
|
}
|
301
818
|
],
|
302
|
-
"stateMutability": "
|
819
|
+
"stateMutability": "view",
|
303
820
|
"type": "function"
|
304
821
|
},
|
305
822
|
{
|
306
|
-
"inputs": [
|
823
|
+
"inputs": [],
|
824
|
+
"name": "getRoleId",
|
825
|
+
"outputs": [
|
307
826
|
{
|
308
|
-
"internalType": "
|
309
|
-
"name": "
|
310
|
-
"type": "
|
311
|
-
}
|
827
|
+
"internalType": "RoleId",
|
828
|
+
"name": "serviceRoleId",
|
829
|
+
"type": "uint64"
|
830
|
+
}
|
831
|
+
],
|
832
|
+
"stateMutability": "view",
|
833
|
+
"type": "function"
|
834
|
+
},
|
835
|
+
{
|
836
|
+
"inputs": [],
|
837
|
+
"name": "getStaking",
|
838
|
+
"outputs": [
|
312
839
|
{
|
313
|
-
"internalType": "
|
314
|
-
"name": "
|
840
|
+
"internalType": "contract IStaking",
|
841
|
+
"name": "staking",
|
315
842
|
"type": "address"
|
316
|
-
}
|
843
|
+
}
|
844
|
+
],
|
845
|
+
"stateMutability": "view",
|
846
|
+
"type": "function"
|
847
|
+
},
|
848
|
+
{
|
849
|
+
"inputs": [],
|
850
|
+
"name": "getTokenHandler",
|
851
|
+
"outputs": [
|
317
852
|
{
|
318
|
-
"internalType": "
|
319
|
-
"name": "
|
320
|
-
"type": "
|
853
|
+
"internalType": "contract TokenHandler",
|
854
|
+
"name": "tokenHandler",
|
855
|
+
"type": "address"
|
321
856
|
}
|
322
857
|
],
|
323
|
-
"
|
858
|
+
"stateMutability": "view",
|
859
|
+
"type": "function"
|
860
|
+
},
|
861
|
+
{
|
862
|
+
"inputs": [],
|
863
|
+
"name": "getVersion",
|
324
864
|
"outputs": [
|
325
865
|
{
|
326
|
-
"internalType": "
|
327
|
-
"name": "
|
328
|
-
"type": "
|
866
|
+
"internalType": "Version",
|
867
|
+
"name": "",
|
868
|
+
"type": "uint24"
|
329
869
|
}
|
330
870
|
],
|
331
|
-
"stateMutability": "
|
871
|
+
"stateMutability": "pure",
|
332
872
|
"type": "function"
|
333
873
|
},
|
334
874
|
{
|
@@ -349,6 +889,19 @@
|
|
349
889
|
"stateMutability": "nonpayable",
|
350
890
|
"type": "function"
|
351
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
|
+
},
|
352
905
|
{
|
353
906
|
"inputs": [],
|
354
907
|
"name": "isConsumingScheduledOp",
|
@@ -365,6 +918,30 @@
|
|
365
918
|
{
|
366
919
|
"inputs": [],
|
367
920
|
"name": "linkToRegisteredNftId",
|
921
|
+
"outputs": [
|
922
|
+
{
|
923
|
+
"internalType": "NftId",
|
924
|
+
"name": "",
|
925
|
+
"type": "uint96"
|
926
|
+
}
|
927
|
+
],
|
928
|
+
"stateMutability": "nonpayable",
|
929
|
+
"type": "function"
|
930
|
+
},
|
931
|
+
{
|
932
|
+
"inputs": [
|
933
|
+
{
|
934
|
+
"internalType": "Amount",
|
935
|
+
"name": "dipAmount",
|
936
|
+
"type": "uint96"
|
937
|
+
},
|
938
|
+
{
|
939
|
+
"internalType": "address",
|
940
|
+
"name": "stakeOwner",
|
941
|
+
"type": "address"
|
942
|
+
}
|
943
|
+
],
|
944
|
+
"name": "pullDipToken",
|
368
945
|
"outputs": [],
|
369
946
|
"stateMutability": "nonpayable",
|
370
947
|
"type": "function"
|
@@ -372,29 +949,60 @@
|
|
372
949
|
{
|
373
950
|
"inputs": [
|
374
951
|
{
|
375
|
-
"internalType": "
|
376
|
-
"name": "
|
952
|
+
"internalType": "Amount",
|
953
|
+
"name": "dipAmount",
|
377
954
|
"type": "uint96"
|
378
955
|
},
|
956
|
+
{
|
957
|
+
"internalType": "address",
|
958
|
+
"name": "stakeOwner",
|
959
|
+
"type": "address"
|
960
|
+
}
|
961
|
+
],
|
962
|
+
"name": "pushDipToken",
|
963
|
+
"outputs": [],
|
964
|
+
"stateMutability": "nonpayable",
|
965
|
+
"type": "function"
|
966
|
+
},
|
967
|
+
{
|
968
|
+
"inputs": [
|
379
969
|
{
|
380
970
|
"internalType": "NftId",
|
381
|
-
"name": "
|
971
|
+
"name": "instanceNftId",
|
972
|
+
"type": "uint96"
|
973
|
+
},
|
974
|
+
{
|
975
|
+
"internalType": "address",
|
976
|
+
"name": "rewardProvider",
|
977
|
+
"type": "address"
|
978
|
+
},
|
979
|
+
{
|
980
|
+
"internalType": "Amount",
|
981
|
+
"name": "dipAmount",
|
382
982
|
"type": "uint96"
|
383
983
|
}
|
384
984
|
],
|
385
|
-
"name": "
|
985
|
+
"name": "refillInstanceRewardReserves",
|
386
986
|
"outputs": [
|
387
987
|
{
|
388
|
-
"internalType": "
|
389
|
-
"name": "
|
988
|
+
"internalType": "Amount",
|
989
|
+
"name": "newBalance",
|
390
990
|
"type": "uint96"
|
391
|
-
}
|
991
|
+
}
|
992
|
+
],
|
993
|
+
"stateMutability": "nonpayable",
|
994
|
+
"type": "function"
|
995
|
+
},
|
996
|
+
{
|
997
|
+
"inputs": [
|
392
998
|
{
|
393
|
-
"internalType": "
|
394
|
-
"name": "
|
395
|
-
"type": "
|
999
|
+
"internalType": "address",
|
1000
|
+
"name": "",
|
1001
|
+
"type": "address"
|
396
1002
|
}
|
397
1003
|
],
|
1004
|
+
"name": "setAuthority",
|
1005
|
+
"outputs": [],
|
398
1006
|
"stateMutability": "nonpayable",
|
399
1007
|
"type": "function"
|
400
1008
|
},
|
@@ -402,16 +1010,16 @@
|
|
402
1010
|
"inputs": [
|
403
1011
|
{
|
404
1012
|
"internalType": "NftId",
|
405
|
-
"name": "
|
1013
|
+
"name": "instanceNftId",
|
406
1014
|
"type": "uint96"
|
407
1015
|
},
|
408
1016
|
{
|
409
|
-
"internalType": "
|
410
|
-
"name": "
|
411
|
-
"type": "
|
1017
|
+
"internalType": "Seconds",
|
1018
|
+
"name": "lockingPeriod",
|
1019
|
+
"type": "uint40"
|
412
1020
|
}
|
413
1021
|
],
|
414
|
-
"name": "
|
1022
|
+
"name": "setInstanceLockingPeriod",
|
415
1023
|
"outputs": [],
|
416
1024
|
"stateMutability": "nonpayable",
|
417
1025
|
"type": "function"
|
@@ -420,16 +1028,16 @@
|
|
420
1028
|
"inputs": [
|
421
1029
|
{
|
422
1030
|
"internalType": "NftId",
|
423
|
-
"name": "
|
1031
|
+
"name": "instanceNftId",
|
424
1032
|
"type": "uint96"
|
425
1033
|
},
|
426
1034
|
{
|
427
|
-
"internalType": "
|
428
|
-
"name": "
|
429
|
-
"type": "
|
1035
|
+
"internalType": "Amount",
|
1036
|
+
"name": "maxStakingAmount",
|
1037
|
+
"type": "uint96"
|
430
1038
|
}
|
431
1039
|
],
|
432
|
-
"name": "
|
1040
|
+
"name": "setInstanceMaxStakedAmount",
|
433
1041
|
"outputs": [],
|
434
1042
|
"stateMutability": "nonpayable",
|
435
1043
|
"type": "function"
|
@@ -437,12 +1045,17 @@
|
|
437
1045
|
{
|
438
1046
|
"inputs": [
|
439
1047
|
{
|
440
|
-
"internalType": "
|
441
|
-
"name": "",
|
442
|
-
"type": "
|
1048
|
+
"internalType": "NftId",
|
1049
|
+
"name": "instanceNftId",
|
1050
|
+
"type": "uint96"
|
1051
|
+
},
|
1052
|
+
{
|
1053
|
+
"internalType": "UFixed",
|
1054
|
+
"name": "rewardRate",
|
1055
|
+
"type": "uint160"
|
443
1056
|
}
|
444
1057
|
],
|
445
|
-
"name": "
|
1058
|
+
"name": "setInstanceRewardRate",
|
446
1059
|
"outputs": [],
|
447
1060
|
"stateMutability": "nonpayable",
|
448
1061
|
"type": "function"
|
@@ -451,16 +1064,21 @@
|
|
451
1064
|
"inputs": [
|
452
1065
|
{
|
453
1066
|
"internalType": "NftId",
|
454
|
-
"name": "
|
1067
|
+
"name": "targetNftId",
|
455
1068
|
"type": "uint96"
|
456
1069
|
},
|
1070
|
+
{
|
1071
|
+
"internalType": "address",
|
1072
|
+
"name": "token",
|
1073
|
+
"type": "address"
|
1074
|
+
},
|
457
1075
|
{
|
458
1076
|
"internalType": "Amount",
|
459
1077
|
"name": "amount",
|
460
1078
|
"type": "uint96"
|
461
1079
|
}
|
462
1080
|
],
|
463
|
-
"name": "
|
1081
|
+
"name": "setTotalValueLocked",
|
464
1082
|
"outputs": [],
|
465
1083
|
"stateMutability": "nonpayable",
|
466
1084
|
"type": "function"
|
@@ -487,17 +1105,12 @@
|
|
487
1105
|
{
|
488
1106
|
"inputs": [
|
489
1107
|
{
|
490
|
-
"internalType": "
|
491
|
-
"name": "
|
492
|
-
"type": "
|
493
|
-
},
|
494
|
-
{
|
495
|
-
"internalType": "Amount",
|
496
|
-
"name": "amount",
|
497
|
-
"type": "uint96"
|
1108
|
+
"internalType": "bytes",
|
1109
|
+
"name": "upgradeData",
|
1110
|
+
"type": "bytes"
|
498
1111
|
}
|
499
1112
|
],
|
500
|
-
"name": "
|
1113
|
+
"name": "upgradeVersionable",
|
501
1114
|
"outputs": [],
|
502
1115
|
"stateMutability": "nonpayable",
|
503
1116
|
"type": "function"
|
@@ -505,13 +1118,24 @@
|
|
505
1118
|
{
|
506
1119
|
"inputs": [
|
507
1120
|
{
|
508
|
-
"internalType": "
|
509
|
-
"name": "
|
510
|
-
"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"
|
511
1137
|
}
|
512
1138
|
],
|
513
|
-
"name": "upgradeVersionable",
|
514
|
-
"outputs": [],
|
515
1139
|
"stateMutability": "nonpayable",
|
516
1140
|
"type": "function"
|
517
1141
|
}
|