@etherisc/gif-next 0.0.2-f18fb8b-243 → 0.0.2-f1b01e0-214
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +89 -8
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +496 -255
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +277 -20
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +395 -203
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +143 -19
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +180 -476
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +265 -31
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +119 -380
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +473 -287
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +151 -109
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +123 -194
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +318 -90
- 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 +1445 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +644 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2002 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +644 -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 +1388 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +644 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1612 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +644 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2389 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +644 -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 +242 -45
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +147 -96
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +263 -130
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +738 -328
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +209 -94
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1080 -357
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +175 -281
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +96 -96
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +863 -726
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +133 -350
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +247 -33
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +117 -136
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +109 -318
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +153 -190
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +122 -88
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +175 -421
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +265 -31
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +337 -210
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +143 -97
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +212 -35
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +139 -212
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +460 -308
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +129 -392
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +673 -552
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +163 -97
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +194 -178
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +100 -90
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +276 -435
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +265 -31
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +415 -234
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +140 -114
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +136 -9
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +308 -16
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +365 -104
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +157 -83
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +260 -229
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +88 -8
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +459 -309
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +141 -99
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +232 -333
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +109 -131
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +268 -427
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -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 +370 -22
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +72 -152
- 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 +597 -80
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +645 -373
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +109 -292
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +94 -80
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1954 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1337 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +4 -4
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +67 -277
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +608 -539
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +142 -110
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +57 -111
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +597 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +80 -100
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +568 -252
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +106 -136
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -0
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +55 -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 +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +98 -318
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
- package/artifacts/contracts/shared/{NftIdSetManager.sol/NftIdSetManager.json → NftIdSet.sol/NftIdSet.json} +4 -4
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +122 -97
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +57 -111
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +196 -143
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +152 -20
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +274 -391
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +126 -95
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +35 -67
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +205 -168
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +103 -85
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +198 -138
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +82 -36
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +63 -10
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +98 -37
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
- 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 +2 -2
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +79 -15
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
- 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 +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +109 -35
- 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 +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +3 -3
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
- package/contracts/accounting/AccountingService.sol +262 -0
- package/contracts/accounting/AccountingServiceManager.sol +38 -0
- package/contracts/accounting/IAccountingService.sol +45 -0
- package/contracts/authorization/AccessAdmin.sol +338 -225
- package/contracts/authorization/AccessAdminLib.sol +183 -0
- package/contracts/authorization/AccessManagerCloneable.sol +146 -4
- package/contracts/authorization/Authorization.sol +350 -203
- package/contracts/authorization/IAccess.sol +13 -4
- package/contracts/authorization/IAccessAdmin.sol +69 -35
- package/contracts/authorization/IAuthorization.sol +33 -7
- package/contracts/authorization/IServiceAuthorization.sol +3 -1
- package/contracts/authorization/ServiceAuthorization.sol +26 -10
- package/contracts/distribution/BasicDistribution.sol +20 -28
- package/contracts/distribution/BasicDistributionAuthorization.sol +26 -9
- package/contracts/distribution/Distribution.sol +41 -80
- package/contracts/distribution/DistributionService.sol +206 -123
- package/contracts/distribution/DistributionServiceManager.sol +8 -11
- package/contracts/distribution/IDistributionComponent.sol +9 -14
- package/contracts/distribution/IDistributionService.sol +40 -22
- 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 +373 -0
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +130 -0
- package/contracts/instance/IInstance.sol +68 -48
- package/contracts/instance/IInstanceService.sol +30 -34
- package/contracts/instance/Instance.sol +121 -71
- package/contracts/instance/InstanceAdmin.sol +289 -105
- package/contracts/instance/InstanceAuthorizationV3.sol +99 -66
- package/contracts/instance/InstanceReader.sol +288 -43
- package/contracts/instance/InstanceService.sol +209 -193
- package/contracts/instance/InstanceServiceManager.sol +8 -13
- package/contracts/instance/InstanceStore.sol +24 -2
- package/contracts/instance/RiskSet.sol +118 -0
- package/contracts/instance/base/ObjectCounter.sol +1 -2
- package/contracts/instance/base/ObjectLifecycle.sol +11 -4
- package/contracts/instance/base/ObjectSet.sol +77 -0
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IBundle.sol +6 -5
- package/contracts/instance/module/IComponents.sol +30 -20
- package/contracts/instance/module/IDistribution.sol +21 -9
- package/contracts/instance/module/IPolicy.sol +50 -29
- package/contracts/instance/module/IRisk.sol +5 -0
- package/contracts/mock/Dip.sol +1 -1
- package/contracts/oracle/BasicOracle.sol +1 -4
- package/contracts/oracle/BasicOracleAuthorization.sol +3 -12
- package/contracts/oracle/IOracle.sol +9 -4
- package/contracts/oracle/IOracleComponent.sol +2 -1
- package/contracts/oracle/IOracleService.sol +2 -1
- package/contracts/oracle/Oracle.sol +21 -24
- package/contracts/oracle/OracleService.sol +113 -81
- package/contracts/oracle/OracleServiceManager.sol +8 -11
- package/contracts/pool/BasicPool.sol +37 -28
- package/contracts/pool/BasicPoolAuthorization.sol +36 -9
- package/contracts/pool/BundleService.sol +204 -105
- package/contracts/pool/BundleServiceManager.sol +8 -11
- package/contracts/pool/IBundleService.sol +31 -22
- package/contracts/pool/IPoolComponent.sol +20 -10
- package/contracts/pool/IPoolService.sol +90 -75
- package/contracts/pool/Pool.sol +145 -113
- package/contracts/pool/PoolLib.sol +216 -0
- package/contracts/pool/PoolService.sol +544 -241
- package/contracts/pool/PoolServiceManager.sol +6 -9
- package/contracts/product/ApplicationService.sol +98 -78
- package/contracts/product/ApplicationServiceManager.sol +6 -6
- package/contracts/product/BasicProduct.sol +12 -45
- package/contracts/product/BasicProductAuthorization.sol +25 -9
- package/contracts/product/ClaimService.sol +365 -175
- package/contracts/product/ClaimServiceManager.sol +6 -6
- package/contracts/product/IApplicationService.sol +9 -2
- package/contracts/product/IClaimService.sol +44 -8
- package/contracts/product/IPolicyService.sol +53 -36
- package/contracts/product/IPricingService.sol +11 -10
- package/contracts/product/IProductComponent.sol +28 -5
- package/contracts/product/{IProductService.sol → IRiskService.sol} +8 -8
- package/contracts/product/PolicyService.sol +458 -269
- package/contracts/product/PolicyServiceLib.sol +65 -0
- package/contracts/product/PolicyServiceManager.sol +6 -9
- package/contracts/product/PricingService.sol +69 -60
- package/contracts/product/PricingServiceManager.sol +6 -9
- package/contracts/product/Product.sol +168 -93
- package/contracts/product/RiskService.sol +154 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +72 -40
- package/contracts/registry/IRegistry.sol +78 -29
- package/contracts/registry/IRegistryService.sol +3 -10
- package/contracts/registry/IRelease.sol +26 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -2
- package/contracts/registry/Registry.sol +368 -216
- package/contracts/registry/RegistryAdmin.sol +166 -273
- package/contracts/registry/RegistryAuthorization.sol +267 -0
- package/contracts/registry/RegistryService.sol +41 -66
- package/contracts/registry/RegistryServiceManager.sol +5 -5
- package/contracts/registry/ReleaseAdmin.sol +253 -0
- package/contracts/registry/ReleaseLifecycle.sol +8 -3
- package/contracts/registry/ReleaseRegistry.sol +517 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +183 -52
- package/contracts/registry/TokenRegistry.sol +8 -10
- package/contracts/shared/Component.sol +65 -136
- package/contracts/shared/ComponentService.sol +463 -336
- package/contracts/shared/ComponentServiceManager.sol +10 -7
- package/contracts/shared/ComponentVerifyingService.sol +28 -17
- package/contracts/shared/ContractLib.sol +281 -0
- package/contracts/shared/IComponent.sol +5 -17
- package/contracts/shared/IComponentService.sol +51 -41
- package/contracts/shared/IInstanceLinkedComponent.sol +7 -27
- package/contracts/shared/ILifecycle.sol +3 -1
- package/contracts/shared/INftOwnable.sol +2 -0
- package/contracts/shared/IPolicyHolder.sol +12 -22
- package/contracts/shared/IRegisterable.sol +23 -1
- package/contracts/shared/IService.sol +4 -6
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +11 -3
- package/contracts/shared/InstanceLinkedComponent.sol +81 -37
- package/contracts/shared/KeyValueStore.sol +1 -1
- package/contracts/shared/Lifecycle.sol +15 -4
- package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +1 -1
- package/contracts/shared/NftOwnable.sol +31 -11
- package/contracts/shared/PolicyHolder.sol +17 -57
- package/contracts/shared/Registerable.sol +52 -21
- package/contracts/shared/RegistryLinked.sol +9 -14
- package/contracts/shared/Service.sol +18 -36
- package/contracts/shared/TokenHandler.sol +310 -26
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +20 -13
- package/contracts/staking/IStakingService.sol +28 -9
- package/contracts/staking/Staking.sol +118 -85
- package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +95 -45
- package/contracts/staking/StakingManager.sol +10 -12
- package/contracts/staking/StakingReader.sol +26 -33
- package/contracts/staking/StakingService.sol +90 -37
- package/contracts/staking/StakingServiceManager.sol +8 -7
- package/contracts/staking/StakingStore.sol +14 -23
- package/contracts/staking/TargetManagerLib.sol +7 -3
- package/contracts/type/Amount.sol +27 -5
- package/contracts/type/Blocknumber.sol +7 -1
- package/contracts/type/ClaimId.sol +6 -1
- package/contracts/type/Fee.sol +8 -8
- package/contracts/type/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/type/NftId.sol +7 -0
- package/contracts/type/ObjectType.sol +60 -41
- package/contracts/type/PayoutId.sol +10 -10
- package/contracts/type/Referral.sol +1 -0
- package/contracts/type/RiskId.sol +38 -6
- package/contracts/type/RoleId.sol +23 -15
- package/contracts/type/Seconds.sol +21 -1
- package/contracts/type/Selector.sol +5 -0
- package/contracts/type/StateId.sol +15 -1
- package/contracts/type/Timestamp.sol +10 -5
- package/contracts/type/UFixed.sol +56 -126
- package/contracts/type/Version.sol +57 -6
- package/contracts/{shared → upgradeability}/ProxyManager.sol +71 -38
- package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
- package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
- package/package.json +5 -4
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -703
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -181
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1159
- 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/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
- package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -617
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -460
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
- package/contracts/authorization/IModuleAuthorization.sol +0 -21
- package/contracts/authorization/ModuleAuthorization.sol +0 -78
- package/contracts/instance/BundleManager.sol +0 -126
- package/contracts/instance/base/ObjectManager.sol +0 -79
- package/contracts/instance/module/IAccess.sol +0 -46
- package/contracts/product/ProductService.sol +0 -124
- package/contracts/product/ProductServiceManager.sol +0 -42
- package/contracts/registry/ReleaseManager.sol +0 -487
- package/contracts/shared/InitializableCustom.sol +0 -177
- /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
@@ -41,11 +41,226 @@
|
|
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
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [
|
57
|
+
{
|
58
|
+
"internalType": "address",
|
59
|
+
"name": "component",
|
60
|
+
"type": "address"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"name": "ErrorComponentServiceAlreadyRegistered",
|
64
|
+
"type": "error"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"inputs": [
|
68
|
+
{
|
69
|
+
"internalType": "address",
|
70
|
+
"name": "instanceAddress",
|
71
|
+
"type": "address"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"internalType": "VersionPart",
|
75
|
+
"name": "instanceVersion",
|
76
|
+
"type": "uint8"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"name": "ErrorComponentServiceInstanceVersionMismatch",
|
80
|
+
"type": "error"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"inputs": [
|
84
|
+
{
|
85
|
+
"internalType": "address",
|
86
|
+
"name": "component",
|
87
|
+
"type": "address"
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"internalType": "ObjectType",
|
91
|
+
"name": "requiredType",
|
92
|
+
"type": "uint8"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"internalType": "ObjectType",
|
96
|
+
"name": "componentType",
|
97
|
+
"type": "uint8"
|
98
|
+
}
|
99
|
+
],
|
100
|
+
"name": "ErrorComponentServiceInvalidType",
|
101
|
+
"type": "error"
|
102
|
+
},
|
44
103
|
{
|
45
104
|
"inputs": [],
|
46
105
|
"name": "ErrorComponentServiceNewWalletAddressZero",
|
47
106
|
"type": "error"
|
48
107
|
},
|
108
|
+
{
|
109
|
+
"inputs": [
|
110
|
+
{
|
111
|
+
"internalType": "address",
|
112
|
+
"name": "component",
|
113
|
+
"type": "address"
|
114
|
+
}
|
115
|
+
],
|
116
|
+
"name": "ErrorComponentServiceNotComponent",
|
117
|
+
"type": "error"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"inputs": [
|
121
|
+
{
|
122
|
+
"internalType": "address",
|
123
|
+
"name": "instanceAddress",
|
124
|
+
"type": "address"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"internalType": "ObjectType",
|
128
|
+
"name": "objectType",
|
129
|
+
"type": "uint8"
|
130
|
+
}
|
131
|
+
],
|
132
|
+
"name": "ErrorComponentServiceNotInstance",
|
133
|
+
"type": "error"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"inputs": [
|
137
|
+
{
|
138
|
+
"internalType": "address",
|
139
|
+
"name": "component",
|
140
|
+
"type": "address"
|
141
|
+
}
|
142
|
+
],
|
143
|
+
"name": "ErrorComponentServiceNotInstanceLinkedComponent",
|
144
|
+
"type": "error"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"inputs": [
|
148
|
+
{
|
149
|
+
"internalType": "address",
|
150
|
+
"name": "instanceAddress",
|
151
|
+
"type": "address"
|
152
|
+
}
|
153
|
+
],
|
154
|
+
"name": "ErrorComponentServiceNotRegistered",
|
155
|
+
"type": "error"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"inputs": [
|
159
|
+
{
|
160
|
+
"internalType": "NftId",
|
161
|
+
"name": "nftId",
|
162
|
+
"type": "uint96"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"internalType": "ObjectType",
|
166
|
+
"name": "objectType",
|
167
|
+
"type": "uint8"
|
168
|
+
}
|
169
|
+
],
|
170
|
+
"name": "ErrorComponentServiceParentNotInstance",
|
171
|
+
"type": "error"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"inputs": [
|
175
|
+
{
|
176
|
+
"internalType": "NftId",
|
177
|
+
"name": "nftId",
|
178
|
+
"type": "uint96"
|
179
|
+
},
|
180
|
+
{
|
181
|
+
"internalType": "ObjectType",
|
182
|
+
"name": "objectType",
|
183
|
+
"type": "uint8"
|
184
|
+
}
|
185
|
+
],
|
186
|
+
"name": "ErrorComponentServiceParentNotProduct",
|
187
|
+
"type": "error"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"inputs": [
|
191
|
+
{
|
192
|
+
"internalType": "address",
|
193
|
+
"name": "component",
|
194
|
+
"type": "address"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"internalType": "VersionPart",
|
198
|
+
"name": "componentRelease",
|
199
|
+
"type": "uint8"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"internalType": "VersionPart",
|
203
|
+
"name": "parentRelease",
|
204
|
+
"type": "uint8"
|
205
|
+
}
|
206
|
+
],
|
207
|
+
"name": "ErrorComponentServiceReleaseMismatch",
|
208
|
+
"type": "error"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"inputs": [
|
212
|
+
{
|
213
|
+
"internalType": "NftId",
|
214
|
+
"name": "senderNftId",
|
215
|
+
"type": "uint96"
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"internalType": "NftId",
|
219
|
+
"name": "compnentParentNftId",
|
220
|
+
"type": "uint96"
|
221
|
+
}
|
222
|
+
],
|
223
|
+
"name": "ErrorComponentServiceSenderNotComponentParent",
|
224
|
+
"type": "error"
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"inputs": [
|
228
|
+
{
|
229
|
+
"internalType": "address",
|
230
|
+
"name": "sender",
|
231
|
+
"type": "address"
|
232
|
+
}
|
233
|
+
],
|
234
|
+
"name": "ErrorComponentServiceSenderNotRegistered",
|
235
|
+
"type": "error"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"inputs": [
|
239
|
+
{
|
240
|
+
"internalType": "address",
|
241
|
+
"name": "token",
|
242
|
+
"type": "address"
|
243
|
+
}
|
244
|
+
],
|
245
|
+
"name": "ErrorComponentServiceTokenInvalid",
|
246
|
+
"type": "error"
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"inputs": [
|
250
|
+
{
|
251
|
+
"internalType": "address",
|
252
|
+
"name": "component",
|
253
|
+
"type": "address"
|
254
|
+
},
|
255
|
+
{
|
256
|
+
"internalType": "ObjectType",
|
257
|
+
"name": "invalidType",
|
258
|
+
"type": "uint8"
|
259
|
+
}
|
260
|
+
],
|
261
|
+
"name": "ErrorComponentServiceTypeNotSupported",
|
262
|
+
"type": "error"
|
263
|
+
},
|
49
264
|
{
|
50
265
|
"inputs": [],
|
51
266
|
"name": "ErrorComponentServiceWalletAddressIsSameAsCurrent",
|
@@ -56,6 +271,53 @@
|
|
56
271
|
"name": "ErrorComponentServiceWalletAddressZero",
|
57
272
|
"type": "error"
|
58
273
|
},
|
274
|
+
{
|
275
|
+
"inputs": [
|
276
|
+
{
|
277
|
+
"internalType": "address",
|
278
|
+
"name": "wallet",
|
279
|
+
"type": "address"
|
280
|
+
},
|
281
|
+
{
|
282
|
+
"internalType": "address",
|
283
|
+
"name": "spender",
|
284
|
+
"type": "address"
|
285
|
+
},
|
286
|
+
{
|
287
|
+
"internalType": "uint256",
|
288
|
+
"name": "allowance",
|
289
|
+
"type": "uint256"
|
290
|
+
},
|
291
|
+
{
|
292
|
+
"internalType": "uint256",
|
293
|
+
"name": "amount",
|
294
|
+
"type": "uint256"
|
295
|
+
}
|
296
|
+
],
|
297
|
+
"name": "ErrorComponentServiceWalletAllowanceTooSmall",
|
298
|
+
"type": "error"
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"inputs": [
|
302
|
+
{
|
303
|
+
"internalType": "Amount",
|
304
|
+
"name": "withdrawnAmount",
|
305
|
+
"type": "uint96"
|
306
|
+
},
|
307
|
+
{
|
308
|
+
"internalType": "Amount",
|
309
|
+
"name": "withdrawLimit",
|
310
|
+
"type": "uint96"
|
311
|
+
}
|
312
|
+
],
|
313
|
+
"name": "ErrorComponentServiceWithdrawAmountExceedsLimit",
|
314
|
+
"type": "error"
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"inputs": [],
|
318
|
+
"name": "ErrorComponentServiceWithdrawAmountIsZero",
|
319
|
+
"type": "error"
|
320
|
+
},
|
59
321
|
{
|
60
322
|
"inputs": [
|
61
323
|
{
|
@@ -83,6 +345,22 @@
|
|
83
345
|
"name": "ErrorNftOwnableInitialOwnerZero",
|
84
346
|
"type": "error"
|
85
347
|
},
|
348
|
+
{
|
349
|
+
"inputs": [
|
350
|
+
{
|
351
|
+
"internalType": "NftId",
|
352
|
+
"name": "nftId",
|
353
|
+
"type": "uint96"
|
354
|
+
},
|
355
|
+
{
|
356
|
+
"internalType": "ObjectType",
|
357
|
+
"name": "expectedObjectType",
|
358
|
+
"type": "uint8"
|
359
|
+
}
|
360
|
+
],
|
361
|
+
"name": "ErrorNftOwnableInvalidType",
|
362
|
+
"type": "error"
|
363
|
+
},
|
86
364
|
{
|
87
365
|
"inputs": [
|
88
366
|
{
|
@@ -105,9 +383,79 @@
|
|
105
383
|
"name": "ErrorNotRegistry",
|
106
384
|
"type": "error"
|
107
385
|
},
|
386
|
+
{
|
387
|
+
"inputs": [
|
388
|
+
{
|
389
|
+
"internalType": "NftId",
|
390
|
+
"name": "productNftId",
|
391
|
+
"type": "uint96"
|
392
|
+
},
|
393
|
+
{
|
394
|
+
"internalType": "NftId",
|
395
|
+
"name": "distributionNftId",
|
396
|
+
"type": "uint96"
|
397
|
+
}
|
398
|
+
],
|
399
|
+
"name": "ErrorProductServiceDistributionAlreadyRegistered",
|
400
|
+
"type": "error"
|
401
|
+
},
|
402
|
+
{
|
403
|
+
"inputs": [
|
404
|
+
{
|
405
|
+
"internalType": "NftId",
|
406
|
+
"name": "productNftId",
|
407
|
+
"type": "uint96"
|
408
|
+
}
|
409
|
+
],
|
410
|
+
"name": "ErrorProductServiceNoDistributionExpected",
|
411
|
+
"type": "error"
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"inputs": [
|
415
|
+
{
|
416
|
+
"internalType": "NftId",
|
417
|
+
"name": "productNftId",
|
418
|
+
"type": "uint96"
|
419
|
+
}
|
420
|
+
],
|
421
|
+
"name": "ErrorProductServiceNoOraclesExpected",
|
422
|
+
"type": "error"
|
423
|
+
},
|
424
|
+
{
|
425
|
+
"inputs": [
|
426
|
+
{
|
427
|
+
"internalType": "NftId",
|
428
|
+
"name": "productNftId",
|
429
|
+
"type": "uint96"
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"internalType": "uint8",
|
433
|
+
"name": "expectedOracles",
|
434
|
+
"type": "uint8"
|
435
|
+
}
|
436
|
+
],
|
437
|
+
"name": "ErrorProductServiceOraclesAlreadyRegistered",
|
438
|
+
"type": "error"
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"inputs": [
|
442
|
+
{
|
443
|
+
"internalType": "NftId",
|
444
|
+
"name": "productNftId",
|
445
|
+
"type": "uint96"
|
446
|
+
},
|
447
|
+
{
|
448
|
+
"internalType": "NftId",
|
449
|
+
"name": "poolNftId",
|
450
|
+
"type": "uint96"
|
451
|
+
}
|
452
|
+
],
|
453
|
+
"name": "ErrorProductServicePoolAlreadyRegistered",
|
454
|
+
"type": "error"
|
455
|
+
},
|
108
456
|
{
|
109
457
|
"inputs": [],
|
110
|
-
"name": "
|
458
|
+
"name": "ErrorRegisterableNotActive",
|
111
459
|
"type": "error"
|
112
460
|
},
|
113
461
|
{
|
@@ -123,6 +471,37 @@
|
|
123
471
|
"name": "AuthorityUpdated",
|
124
472
|
"type": "event"
|
125
473
|
},
|
474
|
+
{
|
475
|
+
"anonymous": false,
|
476
|
+
"inputs": [
|
477
|
+
{
|
478
|
+
"indexed": false,
|
479
|
+
"internalType": "NftId",
|
480
|
+
"name": "componentNftId",
|
481
|
+
"type": "uint96"
|
482
|
+
},
|
483
|
+
{
|
484
|
+
"indexed": false,
|
485
|
+
"internalType": "address",
|
486
|
+
"name": "recipient",
|
487
|
+
"type": "address"
|
488
|
+
},
|
489
|
+
{
|
490
|
+
"indexed": false,
|
491
|
+
"internalType": "address",
|
492
|
+
"name": "token",
|
493
|
+
"type": "address"
|
494
|
+
},
|
495
|
+
{
|
496
|
+
"indexed": false,
|
497
|
+
"internalType": "Amount",
|
498
|
+
"name": "withdrawnAmount",
|
499
|
+
"type": "uint96"
|
500
|
+
}
|
501
|
+
],
|
502
|
+
"name": "LogComponentServiceComponentFeesWithdrawn",
|
503
|
+
"type": "event"
|
504
|
+
},
|
126
505
|
{
|
127
506
|
"anonymous": false,
|
128
507
|
"inputs": [
|
@@ -162,6 +541,49 @@
|
|
162
541
|
"name": "LogComponentServiceProductFeesUpdated",
|
163
542
|
"type": "event"
|
164
543
|
},
|
544
|
+
{
|
545
|
+
"anonymous": false,
|
546
|
+
"inputs": [
|
547
|
+
{
|
548
|
+
"indexed": false,
|
549
|
+
"internalType": "NftId",
|
550
|
+
"name": "instanceNftId",
|
551
|
+
"type": "uint96"
|
552
|
+
},
|
553
|
+
{
|
554
|
+
"indexed": false,
|
555
|
+
"internalType": "NftId",
|
556
|
+
"name": "componentNftId",
|
557
|
+
"type": "uint96"
|
558
|
+
},
|
559
|
+
{
|
560
|
+
"indexed": false,
|
561
|
+
"internalType": "ObjectType",
|
562
|
+
"name": "componentType",
|
563
|
+
"type": "uint8"
|
564
|
+
},
|
565
|
+
{
|
566
|
+
"indexed": false,
|
567
|
+
"internalType": "address",
|
568
|
+
"name": "component",
|
569
|
+
"type": "address"
|
570
|
+
},
|
571
|
+
{
|
572
|
+
"indexed": false,
|
573
|
+
"internalType": "address",
|
574
|
+
"name": "token",
|
575
|
+
"type": "address"
|
576
|
+
},
|
577
|
+
{
|
578
|
+
"indexed": false,
|
579
|
+
"internalType": "address",
|
580
|
+
"name": "initialOwner",
|
581
|
+
"type": "address"
|
582
|
+
}
|
583
|
+
],
|
584
|
+
"name": "LogComponentServiceRegistered",
|
585
|
+
"type": "event"
|
586
|
+
},
|
165
587
|
{
|
166
588
|
"anonymous": false,
|
167
589
|
"inputs": [
|
@@ -181,25 +603,25 @@
|
|
181
603
|
"indexed": false,
|
182
604
|
"internalType": "UFixed",
|
183
605
|
"name": "previousFractionalFee",
|
184
|
-
"type": "
|
606
|
+
"type": "uint160"
|
185
607
|
},
|
186
608
|
{
|
187
609
|
"indexed": false,
|
188
|
-
"internalType": "
|
610
|
+
"internalType": "Amount",
|
189
611
|
"name": "previousFixedFee",
|
190
|
-
"type": "
|
612
|
+
"type": "uint96"
|
191
613
|
},
|
192
614
|
{
|
193
615
|
"indexed": false,
|
194
616
|
"internalType": "UFixed",
|
195
617
|
"name": "newFractionalFee",
|
196
|
-
"type": "
|
618
|
+
"type": "uint160"
|
197
619
|
},
|
198
620
|
{
|
199
621
|
"indexed": false,
|
200
|
-
"internalType": "
|
622
|
+
"internalType": "Amount",
|
201
623
|
"name": "newFixedFee",
|
202
|
-
"type": "
|
624
|
+
"type": "uint96"
|
203
625
|
}
|
204
626
|
],
|
205
627
|
"name": "LogComponentServiceUpdateFee",
|
@@ -227,127 +649,69 @@
|
|
227
649
|
"type": "address"
|
228
650
|
}
|
229
651
|
],
|
230
|
-
"name": "LogComponentServiceWalletAddressChanged",
|
231
|
-
"type": "event"
|
232
|
-
},
|
233
|
-
{
|
234
|
-
"inputs": [],
|
235
|
-
"name": "authority",
|
236
|
-
"outputs": [
|
237
|
-
{
|
238
|
-
"internalType": "address",
|
239
|
-
"name": "",
|
240
|
-
"type": "address"
|
241
|
-
}
|
242
|
-
],
|
243
|
-
"stateMutability": "view",
|
244
|
-
"type": "function"
|
245
|
-
},
|
246
|
-
{
|
247
|
-
"inputs": [
|
248
|
-
{
|
249
|
-
"internalType": "contract InstanceStore",
|
250
|
-
"name": "instanceStore",
|
251
|
-
"type": "address"
|
252
|
-
},
|
253
|
-
{
|
254
|
-
"internalType": "NftId",
|
255
|
-
"name": "bundleNftId",
|
256
|
-
"type": "uint96"
|
257
|
-
},
|
258
|
-
{
|
259
|
-
"internalType": "Amount",
|
260
|
-
"name": "amount",
|
261
|
-
"type": "uint96"
|
262
|
-
},
|
263
|
-
{
|
264
|
-
"internalType": "Amount",
|
265
|
-
"name": "feeAmount",
|
266
|
-
"type": "uint96"
|
267
|
-
}
|
268
|
-
],
|
269
|
-
"name": "decreaseBundleBalance",
|
270
|
-
"outputs": [],
|
271
|
-
"stateMutability": "nonpayable",
|
272
|
-
"type": "function"
|
652
|
+
"name": "LogComponentServiceWalletAddressChanged",
|
653
|
+
"type": "event"
|
273
654
|
},
|
274
655
|
{
|
656
|
+
"anonymous": false,
|
275
657
|
"inputs": [
|
276
658
|
{
|
277
|
-
"
|
278
|
-
"name": "instanceStore",
|
279
|
-
"type": "address"
|
280
|
-
},
|
281
|
-
{
|
659
|
+
"indexed": false,
|
282
660
|
"internalType": "NftId",
|
283
|
-
"name": "
|
661
|
+
"name": "componentNftId",
|
284
662
|
"type": "uint96"
|
285
663
|
},
|
286
664
|
{
|
287
|
-
"
|
288
|
-
"
|
289
|
-
"
|
665
|
+
"indexed": false,
|
666
|
+
"internalType": "address",
|
667
|
+
"name": "currentWallet",
|
668
|
+
"type": "address"
|
290
669
|
},
|
291
670
|
{
|
292
|
-
"
|
293
|
-
"
|
294
|
-
"
|
671
|
+
"indexed": false,
|
672
|
+
"internalType": "address",
|
673
|
+
"name": "newWallet",
|
674
|
+
"type": "address"
|
675
|
+
},
|
676
|
+
{
|
677
|
+
"indexed": false,
|
678
|
+
"internalType": "uint256",
|
679
|
+
"name": "currentBalance",
|
680
|
+
"type": "uint256"
|
295
681
|
}
|
296
682
|
],
|
297
|
-
"name": "
|
298
|
-
"
|
299
|
-
"stateMutability": "nonpayable",
|
300
|
-
"type": "function"
|
683
|
+
"name": "LogComponentServiceWalletTokensTransferred",
|
684
|
+
"type": "event"
|
301
685
|
},
|
302
686
|
{
|
303
687
|
"inputs": [
|
304
688
|
{
|
305
|
-
"internalType": "contract
|
306
|
-
"name": "
|
689
|
+
"internalType": "contract IERC20Metadata",
|
690
|
+
"name": "token",
|
307
691
|
"type": "address"
|
308
692
|
},
|
309
|
-
{
|
310
|
-
"internalType": "NftId",
|
311
|
-
"name": "poolNftId",
|
312
|
-
"type": "uint96"
|
313
|
-
},
|
314
693
|
{
|
315
694
|
"internalType": "Amount",
|
316
695
|
"name": "amount",
|
317
696
|
"type": "uint96"
|
318
|
-
},
|
319
|
-
{
|
320
|
-
"internalType": "Amount",
|
321
|
-
"name": "feeAmount",
|
322
|
-
"type": "uint96"
|
323
697
|
}
|
324
698
|
],
|
325
|
-
"name": "
|
699
|
+
"name": "approveTokenHandler",
|
326
700
|
"outputs": [],
|
327
701
|
"stateMutability": "nonpayable",
|
328
702
|
"type": "function"
|
329
703
|
},
|
330
704
|
{
|
331
|
-
"inputs": [
|
705
|
+
"inputs": [],
|
706
|
+
"name": "authority",
|
707
|
+
"outputs": [
|
332
708
|
{
|
333
|
-
"internalType": "
|
334
|
-
"name": "
|
709
|
+
"internalType": "address",
|
710
|
+
"name": "",
|
335
711
|
"type": "address"
|
336
|
-
},
|
337
|
-
{
|
338
|
-
"internalType": "NftId",
|
339
|
-
"name": "productNftId",
|
340
|
-
"type": "uint96"
|
341
|
-
},
|
342
|
-
{
|
343
|
-
"internalType": "Amount",
|
344
|
-
"name": "feeAmount",
|
345
|
-
"type": "uint96"
|
346
712
|
}
|
347
713
|
],
|
348
|
-
"
|
349
|
-
"outputs": [],
|
350
|
-
"stateMutability": "nonpayable",
|
714
|
+
"stateMutability": "view",
|
351
715
|
"type": "function"
|
352
716
|
},
|
353
717
|
{
|
@@ -452,6 +816,19 @@
|
|
452
816
|
"stateMutability": "view",
|
453
817
|
"type": "function"
|
454
818
|
},
|
819
|
+
{
|
820
|
+
"inputs": [],
|
821
|
+
"name": "getRelease",
|
822
|
+
"outputs": [
|
823
|
+
{
|
824
|
+
"internalType": "VersionPart",
|
825
|
+
"name": "release",
|
826
|
+
"type": "uint8"
|
827
|
+
}
|
828
|
+
],
|
829
|
+
"stateMutability": "view",
|
830
|
+
"type": "function"
|
831
|
+
},
|
455
832
|
{
|
456
833
|
"inputs": [],
|
457
834
|
"name": "getRoleId",
|
@@ -462,7 +839,7 @@
|
|
462
839
|
"type": "uint64"
|
463
840
|
}
|
464
841
|
],
|
465
|
-
"stateMutability": "
|
842
|
+
"stateMutability": "view",
|
466
843
|
"type": "function"
|
467
844
|
},
|
468
845
|
{
|
@@ -481,107 +858,76 @@
|
|
481
858
|
{
|
482
859
|
"inputs": [
|
483
860
|
{
|
484
|
-
"internalType": "
|
485
|
-
"name": "
|
861
|
+
"internalType": "address",
|
862
|
+
"name": "activatedBy",
|
486
863
|
"type": "address"
|
487
864
|
},
|
488
865
|
{
|
489
|
-
"internalType": "
|
490
|
-
"name": "
|
491
|
-
"type": "
|
492
|
-
},
|
493
|
-
{
|
494
|
-
"internalType": "Amount",
|
495
|
-
"name": "amount",
|
496
|
-
"type": "uint96"
|
497
|
-
},
|
498
|
-
{
|
499
|
-
"internalType": "Amount",
|
500
|
-
"name": "feeAmount",
|
501
|
-
"type": "uint96"
|
866
|
+
"internalType": "bytes",
|
867
|
+
"name": "activationData",
|
868
|
+
"type": "bytes"
|
502
869
|
}
|
503
870
|
],
|
504
|
-
"name": "
|
871
|
+
"name": "initializeVersionable",
|
505
872
|
"outputs": [],
|
506
873
|
"stateMutability": "nonpayable",
|
507
874
|
"type": "function"
|
508
875
|
},
|
509
876
|
{
|
510
|
-
"inputs": [
|
511
|
-
|
512
|
-
|
513
|
-
"name": "instanceStore",
|
514
|
-
"type": "address"
|
515
|
-
},
|
516
|
-
{
|
517
|
-
"internalType": "NftId",
|
518
|
-
"name": "distributionNftId",
|
519
|
-
"type": "uint96"
|
520
|
-
},
|
521
|
-
{
|
522
|
-
"internalType": "Amount",
|
523
|
-
"name": "amount",
|
524
|
-
"type": "uint96"
|
525
|
-
},
|
877
|
+
"inputs": [],
|
878
|
+
"name": "isActive",
|
879
|
+
"outputs": [
|
526
880
|
{
|
527
|
-
"internalType": "
|
528
|
-
"name": "
|
529
|
-
"type": "
|
881
|
+
"internalType": "bool",
|
882
|
+
"name": "active",
|
883
|
+
"type": "bool"
|
530
884
|
}
|
531
885
|
],
|
532
|
-
"
|
533
|
-
"outputs": [],
|
534
|
-
"stateMutability": "nonpayable",
|
886
|
+
"stateMutability": "view",
|
535
887
|
"type": "function"
|
536
888
|
},
|
537
889
|
{
|
538
|
-
"inputs": [
|
890
|
+
"inputs": [],
|
891
|
+
"name": "isConsumingScheduledOp",
|
892
|
+
"outputs": [
|
539
893
|
{
|
540
|
-
"internalType": "
|
541
|
-
"name": "
|
542
|
-
"type": "
|
543
|
-
}
|
894
|
+
"internalType": "bytes4",
|
895
|
+
"name": "",
|
896
|
+
"type": "bytes4"
|
897
|
+
}
|
898
|
+
],
|
899
|
+
"stateMutability": "view",
|
900
|
+
"type": "function"
|
901
|
+
},
|
902
|
+
{
|
903
|
+
"inputs": [],
|
904
|
+
"name": "linkToRegisteredNftId",
|
905
|
+
"outputs": [
|
544
906
|
{
|
545
907
|
"internalType": "NftId",
|
546
|
-
"name": "
|
547
|
-
"type": "uint96"
|
548
|
-
},
|
549
|
-
{
|
550
|
-
"internalType": "Amount",
|
551
|
-
"name": "amount",
|
552
|
-
"type": "uint96"
|
553
|
-
},
|
554
|
-
{
|
555
|
-
"internalType": "Amount",
|
556
|
-
"name": "feeAmount",
|
908
|
+
"name": "",
|
557
909
|
"type": "uint96"
|
558
910
|
}
|
559
911
|
],
|
560
|
-
"name": "increasePoolBalance",
|
561
|
-
"outputs": [],
|
562
912
|
"stateMutability": "nonpayable",
|
563
913
|
"type": "function"
|
564
914
|
},
|
565
915
|
{
|
566
916
|
"inputs": [
|
567
917
|
{
|
568
|
-
"internalType": "
|
569
|
-
"name": "
|
918
|
+
"internalType": "address",
|
919
|
+
"name": "component",
|
570
920
|
"type": "address"
|
571
|
-
}
|
921
|
+
}
|
922
|
+
],
|
923
|
+
"name": "registerComponent",
|
924
|
+
"outputs": [
|
572
925
|
{
|
573
926
|
"internalType": "NftId",
|
574
|
-
"name": "
|
575
|
-
"type": "uint96"
|
576
|
-
},
|
577
|
-
{
|
578
|
-
"internalType": "Amount",
|
579
|
-
"name": "feeAmount",
|
927
|
+
"name": "componentNftId",
|
580
928
|
"type": "uint96"
|
581
929
|
}
|
582
930
|
],
|
583
|
-
"name": "increaseProductFees",
|
584
|
-
"outputs": [],
|
585
931
|
"stateMutability": "nonpayable",
|
586
932
|
"type": "function"
|
587
933
|
},
|
@@ -589,81 +935,26 @@
|
|
589
935
|
"inputs": [
|
590
936
|
{
|
591
937
|
"internalType": "address",
|
592
|
-
"name": "
|
938
|
+
"name": "product",
|
593
939
|
"type": "address"
|
594
940
|
},
|
595
941
|
{
|
596
|
-
"internalType": "
|
597
|
-
"name": "
|
598
|
-
"type": "
|
599
|
-
}
|
600
|
-
],
|
601
|
-
"name": "initializeVersionable",
|
602
|
-
"outputs": [],
|
603
|
-
"stateMutability": "nonpayable",
|
604
|
-
"type": "function"
|
605
|
-
},
|
606
|
-
{
|
607
|
-
"inputs": [],
|
608
|
-
"name": "isConsumingScheduledOp",
|
609
|
-
"outputs": [
|
610
|
-
{
|
611
|
-
"internalType": "bytes4",
|
612
|
-
"name": "",
|
613
|
-
"type": "bytes4"
|
942
|
+
"internalType": "address",
|
943
|
+
"name": "token",
|
944
|
+
"type": "address"
|
614
945
|
}
|
615
946
|
],
|
616
|
-
"
|
617
|
-
"type": "function"
|
618
|
-
},
|
619
|
-
{
|
620
|
-
"inputs": [],
|
621
|
-
"name": "linkToRegisteredNftId",
|
947
|
+
"name": "registerProduct",
|
622
948
|
"outputs": [
|
623
949
|
{
|
624
950
|
"internalType": "NftId",
|
625
|
-
"name": "",
|
951
|
+
"name": "productNftId",
|
626
952
|
"type": "uint96"
|
627
953
|
}
|
628
954
|
],
|
629
955
|
"stateMutability": "nonpayable",
|
630
956
|
"type": "function"
|
631
957
|
},
|
632
|
-
{
|
633
|
-
"inputs": [],
|
634
|
-
"name": "lock",
|
635
|
-
"outputs": [],
|
636
|
-
"stateMutability": "nonpayable",
|
637
|
-
"type": "function"
|
638
|
-
},
|
639
|
-
{
|
640
|
-
"inputs": [],
|
641
|
-
"name": "registerDistribution",
|
642
|
-
"outputs": [],
|
643
|
-
"stateMutability": "nonpayable",
|
644
|
-
"type": "function"
|
645
|
-
},
|
646
|
-
{
|
647
|
-
"inputs": [],
|
648
|
-
"name": "registerOracle",
|
649
|
-
"outputs": [],
|
650
|
-
"stateMutability": "nonpayable",
|
651
|
-
"type": "function"
|
652
|
-
},
|
653
|
-
{
|
654
|
-
"inputs": [],
|
655
|
-
"name": "registerPool",
|
656
|
-
"outputs": [],
|
657
|
-
"stateMutability": "nonpayable",
|
658
|
-
"type": "function"
|
659
|
-
},
|
660
|
-
{
|
661
|
-
"inputs": [],
|
662
|
-
"name": "registerProduct",
|
663
|
-
"outputs": [],
|
664
|
-
"stateMutability": "nonpayable",
|
665
|
-
"type": "function"
|
666
|
-
},
|
667
958
|
{
|
668
959
|
"inputs": [
|
669
960
|
{
|
@@ -684,12 +975,12 @@
|
|
684
975
|
{
|
685
976
|
"internalType": "UFixed",
|
686
977
|
"name": "fractionalFee",
|
687
|
-
"type": "
|
978
|
+
"type": "uint160"
|
688
979
|
},
|
689
980
|
{
|
690
|
-
"internalType": "
|
981
|
+
"internalType": "Amount",
|
691
982
|
"name": "fixedFee",
|
692
|
-
"type": "
|
983
|
+
"type": "uint96"
|
693
984
|
}
|
694
985
|
],
|
695
986
|
"internalType": "struct Fee",
|
@@ -701,12 +992,12 @@
|
|
701
992
|
{
|
702
993
|
"internalType": "UFixed",
|
703
994
|
"name": "fractionalFee",
|
704
|
-
"type": "
|
995
|
+
"type": "uint160"
|
705
996
|
},
|
706
997
|
{
|
707
|
-
"internalType": "
|
998
|
+
"internalType": "Amount",
|
708
999
|
"name": "fixedFee",
|
709
|
-
"type": "
|
1000
|
+
"type": "uint96"
|
710
1001
|
}
|
711
1002
|
],
|
712
1003
|
"internalType": "struct Fee",
|
@@ -719,6 +1010,19 @@
|
|
719
1010
|
"stateMutability": "nonpayable",
|
720
1011
|
"type": "function"
|
721
1012
|
},
|
1013
|
+
{
|
1014
|
+
"inputs": [
|
1015
|
+
{
|
1016
|
+
"internalType": "bool",
|
1017
|
+
"name": "locked",
|
1018
|
+
"type": "bool"
|
1019
|
+
}
|
1020
|
+
],
|
1021
|
+
"name": "setLocked",
|
1022
|
+
"outputs": [],
|
1023
|
+
"stateMutability": "nonpayable",
|
1024
|
+
"type": "function"
|
1025
|
+
},
|
722
1026
|
{
|
723
1027
|
"inputs": [
|
724
1028
|
{
|
@@ -726,12 +1030,12 @@
|
|
726
1030
|
{
|
727
1031
|
"internalType": "UFixed",
|
728
1032
|
"name": "fractionalFee",
|
729
|
-
"type": "
|
1033
|
+
"type": "uint160"
|
730
1034
|
},
|
731
1035
|
{
|
732
|
-
"internalType": "
|
1036
|
+
"internalType": "Amount",
|
733
1037
|
"name": "fixedFee",
|
734
|
-
"type": "
|
1038
|
+
"type": "uint96"
|
735
1039
|
}
|
736
1040
|
],
|
737
1041
|
"internalType": "struct Fee",
|
@@ -743,12 +1047,12 @@
|
|
743
1047
|
{
|
744
1048
|
"internalType": "UFixed",
|
745
1049
|
"name": "fractionalFee",
|
746
|
-
"type": "
|
1050
|
+
"type": "uint160"
|
747
1051
|
},
|
748
1052
|
{
|
749
|
-
"internalType": "
|
1053
|
+
"internalType": "Amount",
|
750
1054
|
"name": "fixedFee",
|
751
|
-
"type": "
|
1055
|
+
"type": "uint96"
|
752
1056
|
}
|
753
1057
|
],
|
754
1058
|
"internalType": "struct Fee",
|
@@ -760,12 +1064,12 @@
|
|
760
1064
|
{
|
761
1065
|
"internalType": "UFixed",
|
762
1066
|
"name": "fractionalFee",
|
763
|
-
"type": "
|
1067
|
+
"type": "uint160"
|
764
1068
|
},
|
765
1069
|
{
|
766
|
-
"internalType": "
|
1070
|
+
"internalType": "Amount",
|
767
1071
|
"name": "fixedFee",
|
768
|
-
"type": "
|
1072
|
+
"type": "uint96"
|
769
1073
|
}
|
770
1074
|
],
|
771
1075
|
"internalType": "struct Fee",
|
@@ -785,12 +1089,12 @@
|
|
785
1089
|
{
|
786
1090
|
"internalType": "UFixed",
|
787
1091
|
"name": "fractionalFee",
|
788
|
-
"type": "
|
1092
|
+
"type": "uint160"
|
789
1093
|
},
|
790
1094
|
{
|
791
|
-
"internalType": "
|
1095
|
+
"internalType": "Amount",
|
792
1096
|
"name": "fixedFee",
|
793
|
-
"type": "
|
1097
|
+
"type": "uint96"
|
794
1098
|
}
|
795
1099
|
],
|
796
1100
|
"internalType": "struct Fee",
|
@@ -802,12 +1106,12 @@
|
|
802
1106
|
{
|
803
1107
|
"internalType": "UFixed",
|
804
1108
|
"name": "fractionalFee",
|
805
|
-
"type": "
|
1109
|
+
"type": "uint160"
|
806
1110
|
},
|
807
1111
|
{
|
808
|
-
"internalType": "
|
1112
|
+
"internalType": "Amount",
|
809
1113
|
"name": "fixedFee",
|
810
|
-
"type": "
|
1114
|
+
"type": "uint96"
|
811
1115
|
}
|
812
1116
|
],
|
813
1117
|
"internalType": "struct Fee",
|
@@ -852,13 +1156,6 @@
|
|
852
1156
|
"stateMutability": "view",
|
853
1157
|
"type": "function"
|
854
1158
|
},
|
855
|
-
{
|
856
|
-
"inputs": [],
|
857
|
-
"name": "unlock",
|
858
|
-
"outputs": [],
|
859
|
-
"stateMutability": "nonpayable",
|
860
|
-
"type": "function"
|
861
|
-
},
|
862
1159
|
{
|
863
1160
|
"inputs": [
|
864
1161
|
{
|
@@ -871,6 +1168,25 @@
|
|
871
1168
|
"outputs": [],
|
872
1169
|
"stateMutability": "nonpayable",
|
873
1170
|
"type": "function"
|
1171
|
+
},
|
1172
|
+
{
|
1173
|
+
"inputs": [
|
1174
|
+
{
|
1175
|
+
"internalType": "Amount",
|
1176
|
+
"name": "withdrawAmount",
|
1177
|
+
"type": "uint96"
|
1178
|
+
}
|
1179
|
+
],
|
1180
|
+
"name": "withdrawFees",
|
1181
|
+
"outputs": [
|
1182
|
+
{
|
1183
|
+
"internalType": "Amount",
|
1184
|
+
"name": "withdrawnAmount",
|
1185
|
+
"type": "uint96"
|
1186
|
+
}
|
1187
|
+
],
|
1188
|
+
"stateMutability": "nonpayable",
|
1189
|
+
"type": "function"
|
874
1190
|
}
|
875
1191
|
],
|
876
1192
|
"bytecode": "0x",
|