@etherisc/gif-next 0.0.2-fd275d2-234 → 0.0.2-fd4ee14-428
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +30 -15
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1416 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1378 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +826 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +975 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +827 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +64 -164
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +284 -1317
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +453 -169
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +419 -3062
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +708 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +228 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +630 -351
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +605 -355
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +359 -113
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3598 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
- 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/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +187 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +30 -112
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
- 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/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → oracle/IOracle.sol/IOracle.json} +2 -2
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +759 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1146 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1134 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +754 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → pool/IBundleService.sol/IBundleService.json} +300 -357
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1154 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1078 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.json +1565 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1453 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +742 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +863 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1315 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +822 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +236 -190
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +772 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +720 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +253 -373
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +995 -0
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → product/IProductService.sol/IProductService.json} +124 -166
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1183 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +766 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +1012 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1397 -0
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +708 -0
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +702 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +388 -127
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +395 -219
- package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.json +129 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +576 -182
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1901 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +477 -318
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +337 -133
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +1218 -0
- package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.json +171 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +187 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +351 -100
- package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.json +1559 -0
- package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
- package/artifacts/contracts/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → shared/AccessManagerCustom.sol/AccessManagerCustom.json} +122 -11
- package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1747 -0
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1760 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1838 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1856 -0
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/shared/Component.sol/Component.json +896 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1511 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +796 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +208 -209
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
- package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.json +1189 -0
- package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
- package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
- package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
- package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +631 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +880 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +705 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +50 -11
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +34 -30
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +15 -35
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +97 -172
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1036 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +571 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
- package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +115 -29
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +330 -62
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +132 -53
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +201 -162
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +460 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +2005 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2261 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +186 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +266 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
- package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +293 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
- package/contracts/distribution/Distribution.sol +261 -0
- package/contracts/distribution/DistributionService.sol +297 -0
- package/contracts/distribution/DistributionServiceManager.sol +42 -0
- package/contracts/distribution/IDistributionComponent.sol +66 -0
- package/contracts/distribution/IDistributionService.sol +81 -0
- package/contracts/instance/BundleManager.sol +24 -50
- package/contracts/instance/IInstance.sol +67 -36
- package/contracts/instance/IInstanceService.sol +82 -17
- package/contracts/instance/Instance.sol +181 -372
- package/contracts/instance/InstanceAdmin.sol +331 -0
- package/contracts/instance/InstanceAuthorizationsLib.sol +377 -0
- package/contracts/instance/InstanceReader.sol +160 -83
- package/contracts/instance/InstanceService.sol +372 -165
- package/contracts/instance/InstanceServiceManager.sol +12 -25
- package/contracts/instance/InstanceStore.sol +269 -0
- package/contracts/instance/base/BalanceStore.sol +123 -0
- package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
- package/contracts/instance/base/ObjectCounter.sol +21 -0
- package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +17 -32
- package/contracts/instance/module/IAccess.sol +29 -21
- package/contracts/instance/module/IBundle.sol +8 -8
- package/contracts/instance/module/IComponents.sol +52 -0
- package/contracts/instance/module/IDistribution.sol +7 -4
- package/contracts/instance/module/IPolicy.sol +56 -17
- package/contracts/instance/module/IRisk.sol +1 -1
- package/contracts/{test/Usdc.sol → mock/Dip.sol} +5 -5
- package/contracts/oracle/IOracle.sol +20 -0
- package/contracts/oracle/IOracleComponent.sol +32 -0
- package/contracts/oracle/IOracleService.sol +65 -0
- package/contracts/oracle/Oracle.sol +145 -0
- package/contracts/oracle/OracleService.sol +278 -0
- package/contracts/oracle/OracleServiceManager.sol +42 -0
- package/contracts/pool/BundleService.sol +296 -0
- package/contracts/pool/BundleServiceManager.sol +42 -0
- package/contracts/pool/IBundleService.sol +106 -0
- package/contracts/pool/IPoolComponent.sol +112 -0
- package/contracts/pool/IPoolService.sol +150 -0
- package/contracts/pool/Pool.sol +299 -0
- package/contracts/pool/PoolService.sol +452 -0
- package/contracts/pool/PoolServiceManager.sol +42 -0
- package/contracts/product/ApplicationService.sol +254 -0
- package/contracts/product/ApplicationServiceManager.sol +38 -0
- package/contracts/product/ClaimService.sol +442 -0
- package/contracts/product/ClaimServiceManager.sol +38 -0
- package/contracts/product/IApplicationService.sol +62 -0
- package/contracts/product/IClaimService.sol +99 -0
- package/contracts/product/IPolicyService.sol +78 -0
- package/contracts/product/IPricingService.sol +39 -0
- package/contracts/product/IProductComponent.sol +42 -0
- package/contracts/product/IProductService.sol +33 -0
- package/contracts/product/PolicyService.sol +475 -0
- package/contracts/product/PolicyServiceManager.sol +42 -0
- package/contracts/product/PricingService.sol +300 -0
- package/contracts/product/PricingServiceManager.sol +42 -0
- package/contracts/product/Product.sol +377 -0
- package/contracts/product/ProductService.sol +124 -0
- package/contracts/product/ProductServiceManager.sol +42 -0
- package/contracts/registry/ChainNft.sol +15 -0
- package/contracts/registry/IRegistry.sol +73 -30
- package/contracts/registry/IRegistryService.sol +47 -28
- package/contracts/registry/IServiceAuthorization.sol +35 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +382 -248
- package/contracts/registry/RegistryAdmin.sol +333 -0
- package/contracts/registry/RegistryService.sol +114 -206
- package/contracts/registry/RegistryServiceManager.sol +24 -51
- package/contracts/registry/ReleaseManager.sol +527 -0
- package/contracts/registry/ServiceAuthorization.sol +86 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
- package/contracts/registry/TokenRegistry.sol +261 -57
- package/contracts/shared/AccessAdmin.sol +759 -0
- package/contracts/{instance/AccessManagerSimple.sol → shared/AccessManagerCustom.sol} +281 -232
- package/contracts/shared/AccessManagerExtended.sol +481 -0
- package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
- package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
- package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
- package/contracts/shared/Component.sol +281 -0
- package/contracts/shared/ComponentService.sol +617 -0
- package/contracts/shared/ComponentServiceManager.sol +35 -0
- package/contracts/shared/ComponentVerifyingService.sol +117 -0
- package/contracts/shared/ERC165.sol +15 -13
- package/contracts/shared/IAccessAdmin.sol +168 -0
- package/contracts/shared/IAccessManagerExtended.sol +74 -0
- package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
- package/contracts/shared/IComponent.sol +70 -0
- package/contracts/shared/IComponentService.sol +102 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +15 -11
- package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
- package/contracts/shared/INftOwnable.sol +13 -12
- package/contracts/shared/IPolicyHolder.sol +45 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IRegistryLinked.sol +11 -0
- package/contracts/shared/IService.sol +15 -5
- package/contracts/shared/IVersionable.sol +5 -48
- package/contracts/shared/InitializableCustom.sol +177 -0
- package/contracts/shared/InstanceLinkedComponent.sol +144 -0
- package/contracts/shared/KeyValueStore.sol +127 -0
- package/contracts/{instance/base → shared}/Lifecycle.sol +37 -7
- package/contracts/shared/NftIdSetManager.sol +65 -0
- package/contracts/shared/NftOwnable.sol +59 -86
- package/contracts/shared/PolicyHolder.sol +102 -0
- package/contracts/shared/ProxyManager.sol +131 -26
- package/contracts/shared/Registerable.sol +26 -41
- package/contracts/shared/RegistryLinked.sol +43 -0
- package/contracts/shared/Service.sol +57 -29
- package/contracts/shared/TokenHandler.sol +37 -6
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/staking/IStaking.sol +168 -0
- package/contracts/staking/IStakingService.sol +153 -0
- package/contracts/staking/StakeManagerLib.sol +231 -0
- package/contracts/staking/Staking.sol +513 -0
- package/contracts/staking/StakingManager.sol +54 -0
- package/contracts/staking/StakingReader.sol +187 -0
- package/contracts/staking/StakingService.sol +411 -0
- package/contracts/staking/StakingServiceManager.sol +44 -0
- package/contracts/staking/StakingStore.sol +613 -0
- package/contracts/staking/TargetManagerLib.sol +207 -0
- package/contracts/{types → type}/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +128 -0
- package/contracts/{types → type}/Blocknumber.sol +21 -3
- package/contracts/type/ClaimId.sol +75 -0
- package/contracts/{types → type}/DistributorType.sol +2 -2
- package/contracts/{types → type}/Fee.sol +33 -23
- package/contracts/{types → type}/NftId.sol +21 -15
- package/contracts/{types → type}/NftIdSet.sol +2 -2
- package/contracts/type/ObjectType.sol +241 -0
- package/contracts/type/PayoutId.sol +82 -0
- package/contracts/{types → type}/Referral.sol +5 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/{types → type}/RiskId.sol +1 -1
- package/contracts/type/RoleId.sol +201 -0
- package/contracts/type/Seconds.sol +81 -0
- package/contracts/type/Selector.sol +102 -0
- package/contracts/{types → type}/StateId.sol +34 -4
- package/contracts/type/String.sol +53 -0
- package/contracts/{types → type}/Timestamp.sol +23 -14
- package/contracts/{types → type}/UFixed.sol +1 -0
- package/contracts/{types → type}/Version.sol +2 -1
- package/package.json +5 -5
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -618
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
- package/artifacts/contracts/components/Pool.sol/Pool.json +0 -787
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.json +0 -729
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +0 -101
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -272
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
- 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 -502
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
- 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/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -716
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -444
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -971
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -460
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1147
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -488
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
- package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
- package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -91
- package/contracts/components/Distribution.sol +0 -163
- package/contracts/components/IBaseComponent.sol +0 -25
- package/contracts/components/IDistributionComponent.sol +0 -44
- package/contracts/components/IPoolComponent.sol +0 -62
- package/contracts/components/IProductComponent.sol +0 -35
- package/contracts/components/Pool.sol +0 -247
- package/contracts/components/Product.sol +0 -289
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/AccessManagedSimple.sol +0 -115
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/InstanceAccessManager.sol +0 -288
- package/contracts/instance/base/ComponentServiceBase.sol +0 -134
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/base/KeyValueStore.sol +0 -172
- package/contracts/instance/module/ISetup.sol +0 -46
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/DistributionService.sol +0 -88
- package/contracts/instance/service/DistributionServiceManager.sol +0 -54
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/instance/service/IDistributionService.sol +0 -12
- package/contracts/instance/service/IPoolService.sol +0 -43
- package/contracts/instance/service/IProductService.sol +0 -110
- package/contracts/instance/service/PoolService.sol +0 -206
- package/contracts/instance/service/PoolServiceManager.sol +0 -54
- package/contracts/instance/service/ProductService.sol +0 -561
- package/contracts/instance/service/ProductServiceManager.sol +0 -54
- package/contracts/shared/ContractDeployerLib.sol +0 -72
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
- package/contracts/test/TestFee.sol +0 -25
- package/contracts/test/TestRegisterable.sol +0 -18
- package/contracts/test/TestRoleId.sol +0 -14
- package/contracts/test/TestService.sol +0 -24
- package/contracts/test/TestToken.sol +0 -26
- package/contracts/test/TestVersion.sol +0 -44
- package/contracts/test/TestVersionable.sol +0 -17
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/NumberId.sol +0 -52
- package/contracts/types/ObjectType.sol +0 -152
- package/contracts/types/RoleId.sol +0 -90
- /package/contracts/{types → type}/Key32.sol +0 -0
@@ -7,70 +7,306 @@
|
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
10
|
+
"name": "authority",
|
11
11
|
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "caller",
|
22
|
+
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
35
|
+
{
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "caller",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [],
|
46
|
+
"name": "ErrorInstanceServiceBundleManagerAuthorityMismatch",
|
47
|
+
"type": "error"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"inputs": [],
|
51
|
+
"name": "ErrorInstanceServiceBundleManagerZero",
|
52
|
+
"type": "error"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"inputs": [],
|
56
|
+
"name": "ErrorInstanceServiceBundleMangerInstanceMismatch",
|
57
|
+
"type": "error"
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"inputs": [
|
61
|
+
{
|
62
|
+
"internalType": "address",
|
63
|
+
"name": "component",
|
64
|
+
"type": "address"
|
65
|
+
}
|
66
|
+
],
|
67
|
+
"name": "ErrorInstanceServiceComponentNotInstanceLinked",
|
68
|
+
"type": "error"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"inputs": [
|
72
|
+
{
|
73
|
+
"internalType": "address",
|
74
|
+
"name": "componentAddress",
|
75
|
+
"type": "address"
|
76
|
+
}
|
77
|
+
],
|
78
|
+
"name": "ErrorInstanceServiceComponentNotRegistered",
|
79
|
+
"type": "error"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"inputs": [],
|
83
|
+
"name": "ErrorInstanceServiceInstanceAddressZero",
|
84
|
+
"type": "error"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"inputs": [],
|
88
|
+
"name": "ErrorInstanceServiceInstanceAdminZero",
|
89
|
+
"type": "error"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"inputs": [],
|
93
|
+
"name": "ErrorInstanceServiceInstanceAuthorityMismatch",
|
94
|
+
"type": "error"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"inputs": [
|
98
|
+
{
|
99
|
+
"internalType": "NftId",
|
100
|
+
"name": "instanceNftId",
|
101
|
+
"type": "uint96"
|
12
102
|
},
|
103
|
+
{
|
104
|
+
"internalType": "NftId",
|
105
|
+
"name": "componentNftId",
|
106
|
+
"type": "uint96"
|
107
|
+
}
|
108
|
+
],
|
109
|
+
"name": "ErrorInstanceServiceInstanceComponentMismatch",
|
110
|
+
"type": "error"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"inputs": [],
|
114
|
+
"name": "ErrorInstanceServiceInstanceReaderAddressZero",
|
115
|
+
"type": "error"
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"inputs": [],
|
119
|
+
"name": "ErrorInstanceServiceInstanceReaderInstanceMismatch",
|
120
|
+
"type": "error"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"inputs": [],
|
124
|
+
"name": "ErrorInstanceServiceInstanceReaderInstanceMismatch2",
|
125
|
+
"type": "error"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"inputs": [],
|
129
|
+
"name": "ErrorInstanceServiceInstanceReaderSameAsMasterInstanceReader",
|
130
|
+
"type": "error"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"inputs": [],
|
134
|
+
"name": "ErrorInstanceServiceInstanceReaderZero",
|
135
|
+
"type": "error"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"inputs": [],
|
139
|
+
"name": "ErrorInstanceServiceInstanceStoreAuthorityMismatch",
|
140
|
+
"type": "error"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"inputs": [],
|
144
|
+
"name": "ErrorInstanceServiceInstanceStoreZero",
|
145
|
+
"type": "error"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"inputs": [
|
149
|
+
{
|
150
|
+
"internalType": "address",
|
151
|
+
"name": "instance",
|
152
|
+
"type": "address"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"internalType": "VersionPart",
|
156
|
+
"name": "instanceVersion",
|
157
|
+
"type": "uint8"
|
158
|
+
}
|
159
|
+
],
|
160
|
+
"name": "ErrorInstanceServiceInstanceVersionMismatch",
|
161
|
+
"type": "error"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"inputs": [
|
165
|
+
{
|
166
|
+
"internalType": "address",
|
167
|
+
"name": "componentAddress",
|
168
|
+
"type": "address"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"internalType": "ObjectType",
|
172
|
+
"name": "expectedType",
|
173
|
+
"type": "uint8"
|
174
|
+
},
|
175
|
+
{
|
176
|
+
"internalType": "ObjectType",
|
177
|
+
"name": "componentType",
|
178
|
+
"type": "uint8"
|
179
|
+
}
|
180
|
+
],
|
181
|
+
"name": "ErrorInstanceServiceInvalidComponentType",
|
182
|
+
"type": "error"
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"inputs": [],
|
186
|
+
"name": "ErrorInstanceServiceMasterBundleManagerAlreadySet",
|
187
|
+
"type": "error"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"inputs": [],
|
191
|
+
"name": "ErrorInstanceServiceMasterInstanceAccessManagerAlreadySet",
|
192
|
+
"type": "error"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"inputs": [],
|
196
|
+
"name": "ErrorInstanceServiceMasterInstanceAdminAlreadySet",
|
197
|
+
"type": "error"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"inputs": [],
|
201
|
+
"name": "ErrorInstanceServiceMasterInstanceAlreadySet",
|
202
|
+
"type": "error"
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"inputs": [],
|
206
|
+
"name": "ErrorInstanceServiceMasterInstanceReaderNotSet",
|
207
|
+
"type": "error"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"inputs": [
|
211
|
+
{
|
212
|
+
"internalType": "address",
|
213
|
+
"name": "instance",
|
214
|
+
"type": "address"
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"internalType": "ObjectType",
|
218
|
+
"name": "objectType",
|
219
|
+
"type": "uint8"
|
220
|
+
}
|
221
|
+
],
|
222
|
+
"name": "ErrorInstanceServiceNotInstance",
|
223
|
+
"type": "error"
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"inputs": [
|
13
227
|
{
|
14
228
|
"internalType": "NftId",
|
15
229
|
"name": "nftId",
|
16
230
|
"type": "uint96"
|
17
231
|
}
|
18
232
|
],
|
19
|
-
"name": "
|
233
|
+
"name": "ErrorInstanceServiceNotInstanceNftId",
|
20
234
|
"type": "error"
|
21
235
|
},
|
22
236
|
{
|
23
237
|
"inputs": [
|
24
238
|
{
|
25
239
|
"internalType": "address",
|
26
|
-
"name": "
|
240
|
+
"name": "instance",
|
27
241
|
"type": "address"
|
28
242
|
}
|
29
243
|
],
|
30
|
-
"name": "
|
244
|
+
"name": "ErrorInstanceServiceNotRegistered",
|
31
245
|
"type": "error"
|
32
246
|
},
|
33
247
|
{
|
34
248
|
"inputs": [
|
35
249
|
{
|
36
250
|
"internalType": "address",
|
37
|
-
"name": "
|
251
|
+
"name": "caller",
|
38
252
|
"type": "address"
|
39
253
|
}
|
40
254
|
],
|
41
|
-
"name": "
|
255
|
+
"name": "ErrorInstanceServiceRequestUnauhorized",
|
256
|
+
"type": "error"
|
257
|
+
},
|
258
|
+
{
|
259
|
+
"inputs": [
|
260
|
+
{
|
261
|
+
"internalType": "NftId",
|
262
|
+
"name": "nftId",
|
263
|
+
"type": "uint96"
|
264
|
+
}
|
265
|
+
],
|
266
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
42
267
|
"type": "error"
|
43
268
|
},
|
44
269
|
{
|
45
270
|
"inputs": [
|
46
271
|
{
|
47
272
|
"internalType": "address",
|
48
|
-
"name": "
|
273
|
+
"name": "contractAddress",
|
49
274
|
"type": "address"
|
50
275
|
}
|
51
276
|
],
|
52
|
-
"name": "
|
277
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
53
278
|
"type": "error"
|
54
279
|
},
|
55
280
|
{
|
56
281
|
"inputs": [],
|
57
|
-
"name": "
|
282
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
58
283
|
"type": "error"
|
59
284
|
},
|
60
285
|
{
|
61
286
|
"inputs": [
|
62
287
|
{
|
63
288
|
"internalType": "address",
|
64
|
-
"name": "
|
289
|
+
"name": "account",
|
65
290
|
"type": "address"
|
66
291
|
}
|
67
292
|
],
|
68
|
-
"name": "
|
293
|
+
"name": "ErrorNftOwnableNotOwner",
|
294
|
+
"type": "error"
|
295
|
+
},
|
296
|
+
{
|
297
|
+
"inputs": [
|
298
|
+
{
|
299
|
+
"internalType": "address",
|
300
|
+
"name": "registryAddress",
|
301
|
+
"type": "address"
|
302
|
+
}
|
303
|
+
],
|
304
|
+
"name": "ErrorNotRegistry",
|
69
305
|
"type": "error"
|
70
306
|
},
|
71
307
|
{
|
72
308
|
"inputs": [],
|
73
|
-
"name": "
|
309
|
+
"name": "ErrorServiceNotImplemented",
|
74
310
|
"type": "error"
|
75
311
|
},
|
76
312
|
{
|
@@ -79,19 +315,50 @@
|
|
79
315
|
{
|
80
316
|
"indexed": false,
|
81
317
|
"internalType": "address",
|
82
|
-
"name": "
|
318
|
+
"name": "authority",
|
319
|
+
"type": "address"
|
320
|
+
}
|
321
|
+
],
|
322
|
+
"name": "AuthorityUpdated",
|
323
|
+
"type": "event"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"anonymous": false,
|
327
|
+
"inputs": [
|
328
|
+
{
|
329
|
+
"indexed": false,
|
330
|
+
"internalType": "address",
|
331
|
+
"name": "clonedOzAccessManager",
|
332
|
+
"type": "address"
|
333
|
+
},
|
334
|
+
{
|
335
|
+
"indexed": false,
|
336
|
+
"internalType": "address",
|
337
|
+
"name": "clonedInstanceAccessManager",
|
338
|
+
"type": "address"
|
339
|
+
},
|
340
|
+
{
|
341
|
+
"indexed": false,
|
342
|
+
"internalType": "address",
|
343
|
+
"name": "clonedInstance",
|
83
344
|
"type": "address"
|
84
345
|
},
|
85
346
|
{
|
86
347
|
"indexed": false,
|
87
348
|
"internalType": "address",
|
88
|
-
"name": "
|
349
|
+
"name": "clonedInstanceStore",
|
350
|
+
"type": "address"
|
351
|
+
},
|
352
|
+
{
|
353
|
+
"indexed": false,
|
354
|
+
"internalType": "address",
|
355
|
+
"name": "clonedBundleManager",
|
89
356
|
"type": "address"
|
90
357
|
},
|
91
358
|
{
|
92
359
|
"indexed": false,
|
93
360
|
"internalType": "address",
|
94
|
-
"name": "
|
361
|
+
"name": "clonedInstanceReader",
|
95
362
|
"type": "address"
|
96
363
|
},
|
97
364
|
{
|
@@ -105,39 +372,88 @@
|
|
105
372
|
"type": "event"
|
106
373
|
},
|
107
374
|
{
|
108
|
-
"
|
375
|
+
"inputs": [],
|
376
|
+
"name": "authority",
|
377
|
+
"outputs": [
|
378
|
+
{
|
379
|
+
"internalType": "address",
|
380
|
+
"name": "",
|
381
|
+
"type": "address"
|
382
|
+
}
|
383
|
+
],
|
384
|
+
"stateMutability": "view",
|
385
|
+
"type": "function"
|
386
|
+
},
|
387
|
+
{
|
109
388
|
"inputs": [
|
110
389
|
{
|
111
|
-
"
|
112
|
-
"
|
113
|
-
"
|
114
|
-
"type": "uint24"
|
390
|
+
"internalType": "NftId",
|
391
|
+
"name": "instanceNftId",
|
392
|
+
"type": "uint96"
|
115
393
|
},
|
116
394
|
{
|
117
|
-
"indexed": false,
|
118
395
|
"internalType": "address",
|
119
|
-
"name": "
|
396
|
+
"name": "targetAddress",
|
120
397
|
"type": "address"
|
121
398
|
},
|
122
399
|
{
|
123
|
-
"
|
400
|
+
"internalType": "string",
|
401
|
+
"name": "targetName",
|
402
|
+
"type": "string"
|
403
|
+
},
|
404
|
+
{
|
405
|
+
"internalType": "bytes4[][]",
|
406
|
+
"name": "selectors",
|
407
|
+
"type": "bytes4[][]"
|
408
|
+
},
|
409
|
+
{
|
410
|
+
"internalType": "RoleId[]",
|
411
|
+
"name": "roles",
|
412
|
+
"type": "uint64[]"
|
413
|
+
}
|
414
|
+
],
|
415
|
+
"name": "createComponentTarget",
|
416
|
+
"outputs": [],
|
417
|
+
"stateMutability": "nonpayable",
|
418
|
+
"type": "function"
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"inputs": [
|
422
|
+
{
|
423
|
+
"internalType": "NftId",
|
424
|
+
"name": "instanceNftId",
|
425
|
+
"type": "uint96"
|
426
|
+
},
|
427
|
+
{
|
124
428
|
"internalType": "address",
|
125
|
-
"name": "
|
429
|
+
"name": "targetAddress",
|
126
430
|
"type": "address"
|
431
|
+
},
|
432
|
+
{
|
433
|
+
"internalType": "string",
|
434
|
+
"name": "targetName",
|
435
|
+
"type": "string"
|
436
|
+
},
|
437
|
+
{
|
438
|
+
"internalType": "bytes4[][]",
|
439
|
+
"name": "selectors",
|
440
|
+
"type": "bytes4[][]"
|
441
|
+
},
|
442
|
+
{
|
443
|
+
"internalType": "RoleId[]",
|
444
|
+
"name": "roles",
|
445
|
+
"type": "uint64[]"
|
127
446
|
}
|
128
447
|
],
|
129
|
-
"name": "
|
130
|
-
"
|
448
|
+
"name": "createGifTarget",
|
449
|
+
"outputs": [],
|
450
|
+
"stateMutability": "nonpayable",
|
451
|
+
"type": "function"
|
131
452
|
},
|
132
453
|
{
|
133
454
|
"inputs": [],
|
134
455
|
"name": "createInstanceClone",
|
135
456
|
"outputs": [
|
136
|
-
{
|
137
|
-
"internalType": "contract AccessManagerSimple",
|
138
|
-
"name": "clonedAccessManager",
|
139
|
-
"type": "address"
|
140
|
-
},
|
141
457
|
{
|
142
458
|
"internalType": "contract Instance",
|
143
459
|
"name": "clonedInstance",
|
@@ -147,21 +463,24 @@
|
|
147
463
|
"internalType": "NftId",
|
148
464
|
"name": "instanceNftId",
|
149
465
|
"type": "uint96"
|
150
|
-
},
|
151
|
-
{
|
152
|
-
"internalType": "contract InstanceReader",
|
153
|
-
"name": "clonedInstanceReader",
|
154
|
-
"type": "address"
|
155
|
-
},
|
156
|
-
{
|
157
|
-
"internalType": "contract BundleManager",
|
158
|
-
"name": "clonedBundleManager",
|
159
|
-
"type": "address"
|
160
466
|
}
|
161
467
|
],
|
162
468
|
"stateMutability": "nonpayable",
|
163
469
|
"type": "function"
|
164
470
|
},
|
471
|
+
{
|
472
|
+
"inputs": [],
|
473
|
+
"name": "getDomain",
|
474
|
+
"outputs": [
|
475
|
+
{
|
476
|
+
"internalType": "ObjectType",
|
477
|
+
"name": "serviceDomain",
|
478
|
+
"type": "uint8"
|
479
|
+
}
|
480
|
+
],
|
481
|
+
"stateMutability": "pure",
|
482
|
+
"type": "function"
|
483
|
+
},
|
165
484
|
{
|
166
485
|
"inputs": [],
|
167
486
|
"name": "getInitialInfo",
|
@@ -207,55 +526,11 @@
|
|
207
526
|
"internalType": "struct IRegistry.ObjectInfo",
|
208
527
|
"name": "",
|
209
528
|
"type": "tuple"
|
210
|
-
},
|
211
|
-
{
|
212
|
-
"internalType": "bytes",
|
213
|
-
"name": "data",
|
214
|
-
"type": "bytes"
|
215
|
-
}
|
216
|
-
],
|
217
|
-
"stateMutability": "view",
|
218
|
-
"type": "function"
|
219
|
-
},
|
220
|
-
{
|
221
|
-
"inputs": [],
|
222
|
-
"name": "getInitializedVersion",
|
223
|
-
"outputs": [
|
224
|
-
{
|
225
|
-
"internalType": "uint64",
|
226
|
-
"name": "",
|
227
|
-
"type": "uint64"
|
228
|
-
}
|
229
|
-
],
|
230
|
-
"stateMutability": "view",
|
231
|
-
"type": "function"
|
232
|
-
},
|
233
|
-
{
|
234
|
-
"inputs": [],
|
235
|
-
"name": "getMajorVersion",
|
236
|
-
"outputs": [
|
237
|
-
{
|
238
|
-
"internalType": "VersionPart",
|
239
|
-
"name": "majorVersion",
|
240
|
-
"type": "uint8"
|
241
529
|
}
|
242
530
|
],
|
243
531
|
"stateMutability": "view",
|
244
532
|
"type": "function"
|
245
533
|
},
|
246
|
-
{
|
247
|
-
"inputs": [],
|
248
|
-
"name": "getName",
|
249
|
-
"outputs": [
|
250
|
-
{
|
251
|
-
"internalType": "string",
|
252
|
-
"name": "name",
|
253
|
-
"type": "string"
|
254
|
-
}
|
255
|
-
],
|
256
|
-
"stateMutability": "pure",
|
257
|
-
"type": "function"
|
258
|
-
},
|
259
534
|
{
|
260
535
|
"inputs": [],
|
261
536
|
"name": "getNftId",
|
@@ -295,6 +570,19 @@
|
|
295
570
|
"stateMutability": "view",
|
296
571
|
"type": "function"
|
297
572
|
},
|
573
|
+
{
|
574
|
+
"inputs": [],
|
575
|
+
"name": "getRoleId",
|
576
|
+
"outputs": [
|
577
|
+
{
|
578
|
+
"internalType": "RoleId",
|
579
|
+
"name": "serviceRoleId",
|
580
|
+
"type": "uint64"
|
581
|
+
}
|
582
|
+
],
|
583
|
+
"stateMutability": "pure",
|
584
|
+
"type": "function"
|
585
|
+
},
|
298
586
|
{
|
299
587
|
"inputs": [],
|
300
588
|
"name": "getVersion",
|
@@ -311,100 +599,61 @@
|
|
311
599
|
{
|
312
600
|
"inputs": [
|
313
601
|
{
|
314
|
-
"internalType": "
|
315
|
-
"name": "
|
316
|
-
"type": "
|
317
|
-
}
|
318
|
-
],
|
319
|
-
"name": "getVersion",
|
320
|
-
"outputs": [
|
602
|
+
"internalType": "address",
|
603
|
+
"name": "activatedBy",
|
604
|
+
"type": "address"
|
605
|
+
},
|
321
606
|
{
|
322
|
-
"internalType": "
|
323
|
-
"name": "
|
324
|
-
"type": "
|
607
|
+
"internalType": "bytes",
|
608
|
+
"name": "activationData",
|
609
|
+
"type": "bytes"
|
325
610
|
}
|
326
611
|
],
|
327
|
-
"
|
612
|
+
"name": "initializeVersionable",
|
613
|
+
"outputs": [],
|
614
|
+
"stateMutability": "nonpayable",
|
328
615
|
"type": "function"
|
329
616
|
},
|
330
617
|
{
|
331
618
|
"inputs": [],
|
332
|
-
"name": "
|
619
|
+
"name": "isConsumingScheduledOp",
|
333
620
|
"outputs": [
|
334
621
|
{
|
335
|
-
"internalType": "
|
336
|
-
"name": "
|
337
|
-
"type": "
|
622
|
+
"internalType": "bytes4",
|
623
|
+
"name": "",
|
624
|
+
"type": "bytes4"
|
338
625
|
}
|
339
626
|
],
|
340
627
|
"stateMutability": "view",
|
341
628
|
"type": "function"
|
342
629
|
},
|
343
630
|
{
|
344
|
-
"inputs": [
|
345
|
-
|
346
|
-
"internalType": "Version",
|
347
|
-
"name": "version",
|
348
|
-
"type": "uint24"
|
349
|
-
}
|
350
|
-
],
|
351
|
-
"name": "getVersionInfo",
|
631
|
+
"inputs": [],
|
632
|
+
"name": "linkToRegisteredNftId",
|
352
633
|
"outputs": [
|
353
634
|
{
|
354
|
-
"
|
355
|
-
|
356
|
-
|
357
|
-
"name": "version",
|
358
|
-
"type": "uint24"
|
359
|
-
},
|
360
|
-
{
|
361
|
-
"internalType": "address",
|
362
|
-
"name": "implementation",
|
363
|
-
"type": "address"
|
364
|
-
},
|
365
|
-
{
|
366
|
-
"internalType": "address",
|
367
|
-
"name": "activatedBy",
|
368
|
-
"type": "address"
|
369
|
-
},
|
370
|
-
{
|
371
|
-
"internalType": "Timestamp",
|
372
|
-
"name": "activatedAt",
|
373
|
-
"type": "uint40"
|
374
|
-
},
|
375
|
-
{
|
376
|
-
"internalType": "Blocknumber",
|
377
|
-
"name": "activatedIn",
|
378
|
-
"type": "uint32"
|
379
|
-
}
|
380
|
-
],
|
381
|
-
"internalType": "struct IVersionable.VersionInfo",
|
382
|
-
"name": "versionInfo",
|
383
|
-
"type": "tuple"
|
635
|
+
"internalType": "NftId",
|
636
|
+
"name": "",
|
637
|
+
"type": "uint96"
|
384
638
|
}
|
385
639
|
],
|
386
|
-
"stateMutability": "
|
640
|
+
"stateMutability": "nonpayable",
|
387
641
|
"type": "function"
|
388
642
|
},
|
389
643
|
{
|
390
644
|
"inputs": [
|
391
645
|
{
|
392
646
|
"internalType": "address",
|
393
|
-
"name": "
|
647
|
+
"name": "rewardProvider",
|
394
648
|
"type": "address"
|
395
649
|
},
|
396
650
|
{
|
397
|
-
"internalType": "
|
398
|
-
"name": "
|
399
|
-
"type": "
|
400
|
-
},
|
401
|
-
{
|
402
|
-
"internalType": "bytes",
|
403
|
-
"name": "activationData",
|
404
|
-
"type": "bytes"
|
651
|
+
"internalType": "Amount",
|
652
|
+
"name": "dipAmount",
|
653
|
+
"type": "uint96"
|
405
654
|
}
|
406
655
|
],
|
407
|
-
"name": "
|
656
|
+
"name": "refillStakingRewardReserves",
|
408
657
|
"outputs": [],
|
409
658
|
"stateMutability": "nonpayable",
|
410
659
|
"type": "function"
|
@@ -412,25 +661,51 @@
|
|
412
661
|
{
|
413
662
|
"inputs": [
|
414
663
|
{
|
415
|
-
"internalType": "
|
416
|
-
"name": "
|
417
|
-
"type": "
|
664
|
+
"internalType": "address",
|
665
|
+
"name": "",
|
666
|
+
"type": "address"
|
418
667
|
}
|
419
668
|
],
|
420
|
-
"name": "
|
421
|
-
"outputs": [
|
669
|
+
"name": "setAuthority",
|
670
|
+
"outputs": [],
|
671
|
+
"stateMutability": "nonpayable",
|
672
|
+
"type": "function"
|
673
|
+
},
|
674
|
+
{
|
675
|
+
"inputs": [
|
422
676
|
{
|
423
677
|
"internalType": "bool",
|
424
|
-
"name": "",
|
678
|
+
"name": "locked",
|
425
679
|
"type": "bool"
|
426
680
|
}
|
427
681
|
],
|
428
|
-
"
|
682
|
+
"name": "setComponentLocked",
|
683
|
+
"outputs": [],
|
684
|
+
"stateMutability": "nonpayable",
|
429
685
|
"type": "function"
|
430
686
|
},
|
431
687
|
{
|
432
|
-
"inputs": [
|
433
|
-
|
688
|
+
"inputs": [
|
689
|
+
{
|
690
|
+
"internalType": "Seconds",
|
691
|
+
"name": "stakeLockingPeriod",
|
692
|
+
"type": "uint40"
|
693
|
+
}
|
694
|
+
],
|
695
|
+
"name": "setStakingLockingPeriod",
|
696
|
+
"outputs": [],
|
697
|
+
"stateMutability": "nonpayable",
|
698
|
+
"type": "function"
|
699
|
+
},
|
700
|
+
{
|
701
|
+
"inputs": [
|
702
|
+
{
|
703
|
+
"internalType": "UFixed",
|
704
|
+
"name": "rewardRate",
|
705
|
+
"type": "uint256"
|
706
|
+
}
|
707
|
+
],
|
708
|
+
"name": "setStakingRewardRate",
|
434
709
|
"outputs": [],
|
435
710
|
"stateMutability": "nonpayable",
|
436
711
|
"type": "function"
|
@@ -456,26 +731,35 @@
|
|
456
731
|
},
|
457
732
|
{
|
458
733
|
"inputs": [
|
459
|
-
{
|
460
|
-
"internalType": "address",
|
461
|
-
"name": "implementation",
|
462
|
-
"type": "address"
|
463
|
-
},
|
464
|
-
{
|
465
|
-
"internalType": "address",
|
466
|
-
"name": "activatedBy",
|
467
|
-
"type": "address"
|
468
|
-
},
|
469
734
|
{
|
470
735
|
"internalType": "bytes",
|
471
736
|
"name": "upgradeData",
|
472
737
|
"type": "bytes"
|
473
738
|
}
|
474
739
|
],
|
475
|
-
"name": "
|
740
|
+
"name": "upgradeVersionable",
|
476
741
|
"outputs": [],
|
477
742
|
"stateMutability": "nonpayable",
|
478
743
|
"type": "function"
|
744
|
+
},
|
745
|
+
{
|
746
|
+
"inputs": [
|
747
|
+
{
|
748
|
+
"internalType": "Amount",
|
749
|
+
"name": "dipAmount",
|
750
|
+
"type": "uint96"
|
751
|
+
}
|
752
|
+
],
|
753
|
+
"name": "withdrawStakingRewardReserves",
|
754
|
+
"outputs": [
|
755
|
+
{
|
756
|
+
"internalType": "Amount",
|
757
|
+
"name": "newBalance",
|
758
|
+
"type": "uint96"
|
759
|
+
}
|
760
|
+
],
|
761
|
+
"stateMutability": "nonpayable",
|
762
|
+
"type": "function"
|
479
763
|
}
|
480
764
|
],
|
481
765
|
"bytecode": "0x",
|