@etherisc/gif-next 0.0.2-e6a90b9 → 0.0.2-e769e2e-077
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +359 -8
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1410 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1343 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +760 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +969 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +808 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +284 -523
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +660 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +537 -601
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1348 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +132 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1570 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1039 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +664 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3500 -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/base/Cloneable.sol/Cloneable.json +190 -0
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IComponents.sol/IComponents.json} +2 -2
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1091 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +684 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +684 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1148 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1044 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.json +1559 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1411 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +680 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +820 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +660 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1264 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +748 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +493 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +701 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +530 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +989 -0
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/product/IProductService.sol/IProductService.json +381 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1132 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +692 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +969 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +716 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1391 -0
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +673 -0
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +636 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +252 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +600 -70
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +990 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +777 -77
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +308 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1290 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +661 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +688 -0
- package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +137 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +611 -0
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/shared/Component.sol/Component.json +890 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1461 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +736 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +520 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +625 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +854 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +699 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +478 -0
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +115 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +125 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +175 -0
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{instance/access/IAccess.sol/IAccessCheckRole.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +11 -11
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/shared/IService.sol/IService.json +327 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1030 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +581 -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/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +238 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +569 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +347 -0
- 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 +4 -0
- package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → shared/Service.sol/Service.json} +256 -220
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +150 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1607 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +545 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +2074 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +676 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +805 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +636 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +187 -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/type/DistributorType.sol/DistributorTypeLib.json +104 -0
- 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/type/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +185 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +92 -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/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +156 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +92 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +280 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +10 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +479 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +49 -0
- package/contracts/distribution/Distribution.sol +263 -0
- package/contracts/distribution/DistributionService.sol +297 -0
- package/contracts/distribution/DistributionServiceManager.sol +51 -0
- package/contracts/distribution/IDistributionComponent.sol +66 -0
- package/contracts/distribution/IDistributionService.sol +81 -0
- package/contracts/instance/BundleManager.sol +126 -0
- package/contracts/instance/IInstance.sol +72 -15
- package/contracts/instance/IInstanceService.sol +83 -0
- package/contracts/instance/Instance.sol +209 -44
- package/contracts/instance/InstanceAccessManager.sol +543 -0
- package/contracts/instance/InstanceAuthorizationsLib.sol +336 -0
- package/contracts/instance/InstanceReader.sol +366 -0
- package/contracts/instance/InstanceService.sol +348 -0
- package/contracts/instance/InstanceServiceManager.sol +54 -0
- package/contracts/instance/InstanceStore.sol +259 -0
- package/contracts/instance/base/BalanceStore.sol +118 -0
- package/contracts/instance/base/Cloneable.sol +51 -0
- package/contracts/instance/base/ObjectManager.sol +82 -0
- package/contracts/instance/module/IAccess.sol +54 -0
- package/contracts/instance/module/IBundle.sol +20 -0
- package/contracts/instance/module/IComponents.sol +52 -0
- package/contracts/instance/module/IDistribution.sol +42 -0
- package/contracts/instance/module/IPolicy.sol +84 -0
- package/contracts/instance/module/IRisk.sol +11 -0
- package/contracts/pool/BundleService.sol +313 -0
- package/contracts/pool/BundleServiceManager.sol +51 -0
- package/contracts/pool/IBundleService.sol +106 -0
- package/contracts/pool/IPoolComponent.sol +112 -0
- package/contracts/pool/IPoolService.sol +147 -0
- package/contracts/pool/Pool.sol +299 -0
- package/contracts/pool/PoolService.sol +421 -0
- package/contracts/pool/PoolServiceManager.sol +51 -0
- package/contracts/product/ApplicationService.sol +253 -0
- package/contracts/product/ApplicationServiceManager.sol +35 -0
- package/contracts/product/ClaimService.sol +436 -0
- package/contracts/product/ClaimServiceManager.sol +35 -0
- package/contracts/product/IApplicationService.sol +62 -0
- package/contracts/product/IClaimService.sol +93 -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 +471 -0
- package/contracts/product/PolicyServiceManager.sol +54 -0
- package/contracts/product/PricingService.sol +300 -0
- package/contracts/product/PricingServiceManager.sol +51 -0
- package/contracts/product/Product.sol +377 -0
- package/contracts/product/ProductService.sol +122 -0
- package/contracts/product/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +151 -108
- package/contracts/registry/IRegistry.sol +91 -48
- package/contracts/registry/IRegistryService.sol +79 -0
- package/contracts/registry/ITransferInterceptor.sol +7 -0
- package/contracts/registry/Registry.sol +465 -112
- package/contracts/registry/RegistryAccessManager.sol +213 -0
- package/contracts/registry/RegistryService.sol +327 -0
- package/contracts/registry/RegistryServiceManager.sol +60 -0
- package/contracts/registry/ReleaseManager.sol +375 -0
- package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
- package/contracts/registry/TokenRegistry.sol +187 -0
- package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/shared/Component.sol +286 -0
- package/contracts/shared/ComponentService.sol +596 -0
- package/contracts/shared/ComponentServiceManager.sol +35 -0
- package/contracts/shared/ComponentVerifyingService.sol +111 -0
- package/contracts/shared/ERC165.sol +27 -0
- package/contracts/shared/IComponent.sol +74 -0
- package/contracts/shared/IComponentService.sol +91 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
- package/contracts/shared/IKeyValueStore.sol +53 -0
- package/contracts/shared/ILifecycle.sol +30 -0
- package/contracts/shared/INftOwnable.sol +23 -0
- package/contracts/shared/IPolicyHolder.sol +40 -0
- package/contracts/shared/IRegisterable.sol +15 -0
- package/contracts/shared/IRegistryLinked.sol +11 -0
- package/contracts/shared/IService.sol +18 -0
- package/contracts/shared/IVersionable.sol +53 -0
- package/contracts/shared/InstanceLinkedComponent.sol +145 -0
- package/contracts/shared/KeyValueStore.sol +169 -0
- package/contracts/shared/Lifecycle.sol +121 -0
- package/contracts/shared/NftOwnable.sol +118 -0
- package/contracts/shared/PolicyHolder.sol +94 -0
- package/contracts/shared/ProxyManager.sol +169 -0
- package/contracts/shared/Registerable.sol +75 -0
- package/contracts/shared/RegistryLinked.sol +43 -0
- package/contracts/shared/Service.sol +77 -0
- package/contracts/shared/TokenHandler.sol +58 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +59 -0
- package/contracts/staking/IStaking.sol +77 -0
- package/contracts/staking/IStakingService.sol +105 -0
- package/contracts/staking/Staking.sol +212 -0
- package/contracts/staking/StakingManager.sol +46 -0
- package/contracts/staking/StakingService.sol +200 -0
- package/contracts/staking/StakingServiceManager.sol +41 -0
- package/contracts/type/AddressSet.sol +58 -0
- package/contracts/type/Amount.sol +114 -0
- package/contracts/type/Blocknumber.sol +124 -0
- package/contracts/type/ClaimId.sol +75 -0
- package/contracts/type/DistributorType.sol +55 -0
- package/contracts/type/Fee.sol +66 -0
- package/contracts/type/Key32.sol +50 -0
- package/contracts/type/NftId.sol +73 -0
- package/contracts/type/NftIdSet.sol +62 -0
- package/contracts/type/ObjectType.sol +165 -0
- package/contracts/type/PayoutId.sol +82 -0
- package/contracts/type/Referral.sol +89 -0
- package/contracts/type/RiskId.sol +43 -0
- package/contracts/type/RoleId.sol +138 -0
- package/contracts/type/Seconds.sol +54 -0
- package/contracts/type/StateId.sol +110 -0
- package/contracts/type/Timestamp.sol +132 -0
- package/contracts/type/UFixed.sol +326 -0
- package/contracts/type/Version.sol +108 -0
- package/package.json +21 -6
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/Component.json +0 -179
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -179
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -192
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
- package/artifacts/contracts/components/Pool.sol/Pool.json +0 -195
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.json +0 -213
- 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/IA.sol/ISharedA.json +0 -37
- 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/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/access/Access.sol/AccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -327
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -105
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -179
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -245
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -231
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -231
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -149
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -162
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -114
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -125
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
- 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/NftId.sol/NftIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -10
- package/contracts/components/Component.sol +0 -62
- package/contracts/components/IPool.sol +0 -9
- package/contracts/components/IProduct.sol +0 -11
- package/contracts/components/Pool.sol +0 -29
- package/contracts/components/Product.sol +0 -65
- package/contracts/experiment/errors/Require.sol +0 -33
- package/contracts/experiment/errors/Revert.sol +0 -39
- package/contracts/experiment/inheritance/A.sol +0 -56
- package/contracts/experiment/inheritance/B.sol +0 -23
- package/contracts/experiment/inheritance/C.sol +0 -28
- package/contracts/experiment/inheritance/IA.sol +0 -18
- package/contracts/experiment/inheritance/IB.sol +0 -9
- package/contracts/experiment/inheritance/IC.sol +0 -11
- package/contracts/experiment/types/TypeA.sol +0 -42
- package/contracts/experiment/types/TypeB.sol +0 -24
- package/contracts/instance/access/Access.sol +0 -218
- package/contracts/instance/access/IAccess.sol +0 -83
- package/contracts/instance/component/ComponentModule.sol +0 -246
- package/contracts/instance/component/IComponent.sol +0 -94
- package/contracts/instance/policy/IPolicy.sol +0 -66
- package/contracts/instance/policy/PolicyModule.sol +0 -106
- package/contracts/instance/pool/IPoolModule.sol +0 -40
- package/contracts/instance/pool/PoolModule.sol +0 -83
- package/contracts/instance/product/IProductService.sol +0 -45
- package/contracts/instance/product/ProductService.sol +0 -105
- package/contracts/registry/IChainNft.sol +0 -18
- package/contracts/types/ChainId.sol +0 -24
- package/contracts/types/NftId.sol +0 -25
@@ -5,85 +5,243 @@
|
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [],
|
8
|
-
"name": "
|
8
|
+
"name": "CallerNotRegistryService",
|
9
|
+
"type": "error"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"inputs": [],
|
13
|
+
"name": "CallerNotReleaseManager",
|
14
|
+
"type": "error"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"inputs": [
|
18
|
+
{
|
19
|
+
"internalType": "address",
|
20
|
+
"name": "objectAddress",
|
21
|
+
"type": "address"
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"name": "ContractAlreadyRegistered",
|
25
|
+
"type": "error"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"inputs": [],
|
29
|
+
"name": "CoreTypeRegistration",
|
30
|
+
"type": "error"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"inputs": [
|
34
|
+
{
|
35
|
+
"internalType": "ObjectType",
|
36
|
+
"name": "objectType",
|
37
|
+
"type": "uint8"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"internalType": "ObjectType",
|
41
|
+
"name": "parentType",
|
42
|
+
"type": "uint8"
|
43
|
+
}
|
44
|
+
],
|
45
|
+
"name": "InvalidTypesCombination",
|
46
|
+
"type": "error"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"inputs": [
|
50
|
+
{
|
51
|
+
"internalType": "address",
|
52
|
+
"name": "service",
|
53
|
+
"type": "address"
|
54
|
+
}
|
55
|
+
],
|
56
|
+
"name": "ServiceAlreadyRegistered",
|
57
|
+
"type": "error"
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"inputs": [],
|
61
|
+
"name": "ServiceRegistration",
|
62
|
+
"type": "error"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"inputs": [
|
66
|
+
{
|
67
|
+
"internalType": "address",
|
68
|
+
"name": "stakingAddress",
|
69
|
+
"type": "address"
|
70
|
+
}
|
71
|
+
],
|
72
|
+
"name": "StakingAlreadyRegistered",
|
73
|
+
"type": "error"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"inputs": [
|
77
|
+
{
|
78
|
+
"internalType": "address",
|
79
|
+
"name": "tokenRegistry",
|
80
|
+
"type": "address"
|
81
|
+
}
|
82
|
+
],
|
83
|
+
"name": "TokenRegistryAlreadySet",
|
84
|
+
"type": "error"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"inputs": [],
|
88
|
+
"name": "TokenRegistryZero",
|
89
|
+
"type": "error"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"inputs": [],
|
93
|
+
"name": "ZeroParentAddress",
|
94
|
+
"type": "error"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"anonymous": false,
|
98
|
+
"inputs": [
|
99
|
+
{
|
100
|
+
"indexed": false,
|
101
|
+
"internalType": "NftId",
|
102
|
+
"name": "nftId",
|
103
|
+
"type": "uint96"
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"indexed": false,
|
107
|
+
"internalType": "NftId",
|
108
|
+
"name": "parentNftId",
|
109
|
+
"type": "uint96"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"indexed": false,
|
113
|
+
"internalType": "ObjectType",
|
114
|
+
"name": "objectType",
|
115
|
+
"type": "uint8"
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"indexed": false,
|
119
|
+
"internalType": "bool",
|
120
|
+
"name": "isInterceptor",
|
121
|
+
"type": "bool"
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"indexed": false,
|
125
|
+
"internalType": "address",
|
126
|
+
"name": "objectAddress",
|
127
|
+
"type": "address"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"indexed": false,
|
131
|
+
"internalType": "address",
|
132
|
+
"name": "initialOwner",
|
133
|
+
"type": "address"
|
134
|
+
}
|
135
|
+
],
|
136
|
+
"name": "LogRegistration",
|
137
|
+
"type": "event"
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"anonymous": false,
|
141
|
+
"inputs": [
|
142
|
+
{
|
143
|
+
"indexed": false,
|
144
|
+
"internalType": "VersionPart",
|
145
|
+
"name": "majorVersion",
|
146
|
+
"type": "uint8"
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"indexed": false,
|
150
|
+
"internalType": "ObjectType",
|
151
|
+
"name": "domain",
|
152
|
+
"type": "uint8"
|
153
|
+
}
|
154
|
+
],
|
155
|
+
"name": "LogServiceRegistration",
|
156
|
+
"type": "event"
|
157
|
+
},
|
158
|
+
{
|
159
|
+
"inputs": [],
|
160
|
+
"name": "getChainNftAddress",
|
9
161
|
"outputs": [
|
10
162
|
{
|
11
|
-
"internalType": "
|
163
|
+
"internalType": "address",
|
12
164
|
"name": "",
|
13
|
-
"type": "
|
165
|
+
"type": "address"
|
14
166
|
}
|
15
167
|
],
|
16
|
-
"stateMutability": "
|
168
|
+
"stateMutability": "view",
|
17
169
|
"type": "function"
|
18
170
|
},
|
19
171
|
{
|
20
172
|
"inputs": [],
|
21
|
-
"name": "
|
173
|
+
"name": "getInitialVersion",
|
22
174
|
"outputs": [
|
23
175
|
{
|
24
|
-
"internalType": "
|
176
|
+
"internalType": "VersionPart",
|
25
177
|
"name": "",
|
26
|
-
"type": "
|
178
|
+
"type": "uint8"
|
27
179
|
}
|
28
180
|
],
|
29
|
-
"stateMutability": "
|
181
|
+
"stateMutability": "view",
|
30
182
|
"type": "function"
|
31
183
|
},
|
32
184
|
{
|
33
185
|
"inputs": [],
|
34
|
-
"name": "
|
186
|
+
"name": "getLatestVersion",
|
35
187
|
"outputs": [
|
36
188
|
{
|
37
|
-
"internalType": "
|
189
|
+
"internalType": "VersionPart",
|
38
190
|
"name": "",
|
39
|
-
"type": "
|
191
|
+
"type": "uint8"
|
40
192
|
}
|
41
193
|
],
|
42
|
-
"stateMutability": "
|
194
|
+
"stateMutability": "view",
|
43
195
|
"type": "function"
|
44
196
|
},
|
45
197
|
{
|
46
198
|
"inputs": [],
|
47
|
-
"name": "
|
199
|
+
"name": "getNextVersion",
|
48
200
|
"outputs": [
|
49
201
|
{
|
50
|
-
"internalType": "
|
202
|
+
"internalType": "VersionPart",
|
51
203
|
"name": "",
|
52
|
-
"type": "
|
204
|
+
"type": "uint8"
|
53
205
|
}
|
54
206
|
],
|
55
|
-
"stateMutability": "
|
207
|
+
"stateMutability": "view",
|
56
208
|
"type": "function"
|
57
209
|
},
|
58
210
|
{
|
59
211
|
"inputs": [],
|
60
|
-
"name": "
|
212
|
+
"name": "getNftId",
|
61
213
|
"outputs": [
|
62
214
|
{
|
63
|
-
"internalType": "
|
64
|
-
"name": "",
|
65
|
-
"type": "
|
215
|
+
"internalType": "NftId",
|
216
|
+
"name": "nftId",
|
217
|
+
"type": "uint96"
|
66
218
|
}
|
67
219
|
],
|
68
|
-
"stateMutability": "
|
220
|
+
"stateMutability": "view",
|
69
221
|
"type": "function"
|
70
222
|
},
|
71
223
|
{
|
72
|
-
"inputs": [
|
73
|
-
|
224
|
+
"inputs": [
|
225
|
+
{
|
226
|
+
"internalType": "address",
|
227
|
+
"name": "objectAddress",
|
228
|
+
"type": "address"
|
229
|
+
}
|
230
|
+
],
|
231
|
+
"name": "getNftId",
|
74
232
|
"outputs": [
|
75
233
|
{
|
76
|
-
"internalType": "
|
77
|
-
"name": "",
|
78
|
-
"type": "
|
234
|
+
"internalType": "NftId",
|
235
|
+
"name": "nftId",
|
236
|
+
"type": "uint96"
|
79
237
|
}
|
80
238
|
],
|
81
|
-
"stateMutability": "
|
239
|
+
"stateMutability": "view",
|
82
240
|
"type": "function"
|
83
241
|
},
|
84
242
|
{
|
85
243
|
"inputs": [],
|
86
|
-
"name": "
|
244
|
+
"name": "getObjectCount",
|
87
245
|
"outputs": [
|
88
246
|
{
|
89
247
|
"internalType": "uint256",
|
@@ -91,35 +249,96 @@
|
|
91
249
|
"type": "uint256"
|
92
250
|
}
|
93
251
|
],
|
94
|
-
"stateMutability": "
|
252
|
+
"stateMutability": "view",
|
95
253
|
"type": "function"
|
96
254
|
},
|
97
255
|
{
|
98
256
|
"inputs": [
|
99
257
|
{
|
100
|
-
"internalType": "
|
258
|
+
"internalType": "address",
|
259
|
+
"name": "object",
|
260
|
+
"type": "address"
|
261
|
+
}
|
262
|
+
],
|
263
|
+
"name": "getObjectInfo",
|
264
|
+
"outputs": [
|
265
|
+
{
|
266
|
+
"components": [
|
267
|
+
{
|
268
|
+
"internalType": "NftId",
|
269
|
+
"name": "nftId",
|
270
|
+
"type": "uint96"
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"internalType": "NftId",
|
274
|
+
"name": "parentNftId",
|
275
|
+
"type": "uint96"
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"internalType": "ObjectType",
|
279
|
+
"name": "objectType",
|
280
|
+
"type": "uint8"
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"internalType": "bool",
|
284
|
+
"name": "isInterceptor",
|
285
|
+
"type": "bool"
|
286
|
+
},
|
287
|
+
{
|
288
|
+
"internalType": "address",
|
289
|
+
"name": "objectAddress",
|
290
|
+
"type": "address"
|
291
|
+
},
|
292
|
+
{
|
293
|
+
"internalType": "address",
|
294
|
+
"name": "initialOwner",
|
295
|
+
"type": "address"
|
296
|
+
},
|
297
|
+
{
|
298
|
+
"internalType": "bytes",
|
299
|
+
"name": "data",
|
300
|
+
"type": "bytes"
|
301
|
+
}
|
302
|
+
],
|
303
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
304
|
+
"name": "info",
|
305
|
+
"type": "tuple"
|
306
|
+
}
|
307
|
+
],
|
308
|
+
"stateMutability": "view",
|
309
|
+
"type": "function"
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"inputs": [
|
313
|
+
{
|
314
|
+
"internalType": "NftId",
|
101
315
|
"name": "nftId",
|
102
|
-
"type": "
|
316
|
+
"type": "uint96"
|
103
317
|
}
|
104
318
|
],
|
105
|
-
"name": "
|
319
|
+
"name": "getObjectInfo",
|
106
320
|
"outputs": [
|
107
321
|
{
|
108
322
|
"components": [
|
109
323
|
{
|
110
|
-
"internalType": "
|
324
|
+
"internalType": "NftId",
|
111
325
|
"name": "nftId",
|
112
|
-
"type": "
|
326
|
+
"type": "uint96"
|
113
327
|
},
|
114
328
|
{
|
115
|
-
"internalType": "
|
329
|
+
"internalType": "NftId",
|
116
330
|
"name": "parentNftId",
|
117
|
-
"type": "
|
331
|
+
"type": "uint96"
|
118
332
|
},
|
119
333
|
{
|
120
|
-
"internalType": "
|
334
|
+
"internalType": "ObjectType",
|
121
335
|
"name": "objectType",
|
122
|
-
"type": "
|
336
|
+
"type": "uint8"
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"internalType": "bool",
|
340
|
+
"name": "isInterceptor",
|
341
|
+
"type": "bool"
|
123
342
|
},
|
124
343
|
{
|
125
344
|
"internalType": "address",
|
@@ -130,9 +349,14 @@
|
|
130
349
|
"internalType": "address",
|
131
350
|
"name": "initialOwner",
|
132
351
|
"type": "address"
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"internalType": "bytes",
|
355
|
+
"name": "data",
|
356
|
+
"type": "bytes"
|
133
357
|
}
|
134
358
|
],
|
135
|
-
"internalType": "struct IRegistry.
|
359
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
136
360
|
"name": "info",
|
137
361
|
"type": "tuple"
|
138
362
|
}
|
@@ -142,11 +366,11 @@
|
|
142
366
|
},
|
143
367
|
{
|
144
368
|
"inputs": [],
|
145
|
-
"name": "
|
369
|
+
"name": "getOwner",
|
146
370
|
"outputs": [
|
147
371
|
{
|
148
372
|
"internalType": "address",
|
149
|
-
"name": "
|
373
|
+
"name": "",
|
150
374
|
"type": "address"
|
151
375
|
}
|
152
376
|
],
|
@@ -155,18 +379,67 @@
|
|
155
379
|
},
|
156
380
|
{
|
157
381
|
"inputs": [
|
382
|
+
{
|
383
|
+
"internalType": "VersionPart",
|
384
|
+
"name": "version",
|
385
|
+
"type": "uint8"
|
386
|
+
}
|
387
|
+
],
|
388
|
+
"name": "getReleaseInfo",
|
389
|
+
"outputs": [
|
390
|
+
{
|
391
|
+
"components": [
|
392
|
+
{
|
393
|
+
"internalType": "ObjectType[]",
|
394
|
+
"name": "domains",
|
395
|
+
"type": "uint8[]"
|
396
|
+
},
|
397
|
+
{
|
398
|
+
"internalType": "Timestamp",
|
399
|
+
"name": "createdAt",
|
400
|
+
"type": "uint40"
|
401
|
+
}
|
402
|
+
],
|
403
|
+
"internalType": "struct IRegistry.ReleaseInfo",
|
404
|
+
"name": "",
|
405
|
+
"type": "tuple"
|
406
|
+
}
|
407
|
+
],
|
408
|
+
"stateMutability": "view",
|
409
|
+
"type": "function"
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"inputs": [],
|
413
|
+
"name": "getReleaseManagerAddress",
|
414
|
+
"outputs": [
|
158
415
|
{
|
159
416
|
"internalType": "address",
|
160
|
-
"name": "
|
417
|
+
"name": "",
|
161
418
|
"type": "address"
|
162
419
|
}
|
163
420
|
],
|
164
|
-
"
|
421
|
+
"stateMutability": "view",
|
422
|
+
"type": "function"
|
423
|
+
},
|
424
|
+
{
|
425
|
+
"inputs": [
|
426
|
+
{
|
427
|
+
"internalType": "ObjectType",
|
428
|
+
"name": "serviceDomain",
|
429
|
+
"type": "uint8"
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"internalType": "VersionPart",
|
433
|
+
"name": "releaseVersion",
|
434
|
+
"type": "uint8"
|
435
|
+
}
|
436
|
+
],
|
437
|
+
"name": "getServiceAddress",
|
165
438
|
"outputs": [
|
166
439
|
{
|
167
|
-
"internalType": "
|
168
|
-
"name": "
|
169
|
-
"type": "
|
440
|
+
"internalType": "address",
|
441
|
+
"name": "serviceAddress",
|
442
|
+
"type": "address"
|
170
443
|
}
|
171
444
|
],
|
172
445
|
"stateMutability": "view",
|
@@ -174,12 +447,25 @@
|
|
174
447
|
},
|
175
448
|
{
|
176
449
|
"inputs": [],
|
177
|
-
"name": "
|
450
|
+
"name": "getStakingAddress",
|
178
451
|
"outputs": [
|
179
452
|
{
|
180
|
-
"internalType": "
|
453
|
+
"internalType": "address",
|
454
|
+
"name": "staking",
|
455
|
+
"type": "address"
|
456
|
+
}
|
457
|
+
],
|
458
|
+
"stateMutability": "view",
|
459
|
+
"type": "function"
|
460
|
+
},
|
461
|
+
{
|
462
|
+
"inputs": [],
|
463
|
+
"name": "getTokenRegistryAddress",
|
464
|
+
"outputs": [
|
465
|
+
{
|
466
|
+
"internalType": "address",
|
181
467
|
"name": "",
|
182
|
-
"type": "
|
468
|
+
"type": "address"
|
183
469
|
}
|
184
470
|
],
|
185
471
|
"stateMutability": "view",
|
@@ -188,19 +474,57 @@
|
|
188
474
|
{
|
189
475
|
"inputs": [
|
190
476
|
{
|
191
|
-
"internalType": "
|
477
|
+
"internalType": "address",
|
478
|
+
"name": "contractAddress",
|
479
|
+
"type": "address"
|
480
|
+
}
|
481
|
+
],
|
482
|
+
"name": "isRegistered",
|
483
|
+
"outputs": [
|
484
|
+
{
|
485
|
+
"internalType": "bool",
|
486
|
+
"name": "",
|
487
|
+
"type": "bool"
|
488
|
+
}
|
489
|
+
],
|
490
|
+
"stateMutability": "view",
|
491
|
+
"type": "function"
|
492
|
+
},
|
493
|
+
{
|
494
|
+
"inputs": [
|
495
|
+
{
|
496
|
+
"internalType": "NftId",
|
192
497
|
"name": "nftId",
|
193
|
-
"type": "
|
498
|
+
"type": "uint96"
|
194
499
|
}
|
195
500
|
],
|
196
|
-
"name": "
|
501
|
+
"name": "isRegistered",
|
197
502
|
"outputs": [
|
503
|
+
{
|
504
|
+
"internalType": "bool",
|
505
|
+
"name": "",
|
506
|
+
"type": "bool"
|
507
|
+
}
|
508
|
+
],
|
509
|
+
"stateMutability": "view",
|
510
|
+
"type": "function"
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"inputs": [
|
198
514
|
{
|
199
515
|
"internalType": "address",
|
200
|
-
"name": "
|
516
|
+
"name": "object",
|
201
517
|
"type": "address"
|
202
518
|
}
|
203
519
|
],
|
520
|
+
"name": "isRegisteredComponent",
|
521
|
+
"outputs": [
|
522
|
+
{
|
523
|
+
"internalType": "bool",
|
524
|
+
"name": "",
|
525
|
+
"type": "bool"
|
526
|
+
}
|
527
|
+
],
|
204
528
|
"stateMutability": "view",
|
205
529
|
"type": "function"
|
206
530
|
},
|
@@ -208,11 +532,30 @@
|
|
208
532
|
"inputs": [
|
209
533
|
{
|
210
534
|
"internalType": "address",
|
211
|
-
"name": "
|
535
|
+
"name": "contractAddress",
|
212
536
|
"type": "address"
|
213
537
|
}
|
214
538
|
],
|
215
|
-
"name": "
|
539
|
+
"name": "isRegisteredService",
|
540
|
+
"outputs": [
|
541
|
+
{
|
542
|
+
"internalType": "bool",
|
543
|
+
"name": "",
|
544
|
+
"type": "bool"
|
545
|
+
}
|
546
|
+
],
|
547
|
+
"stateMutability": "view",
|
548
|
+
"type": "function"
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"inputs": [
|
552
|
+
{
|
553
|
+
"internalType": "VersionPart",
|
554
|
+
"name": "version",
|
555
|
+
"type": "uint8"
|
556
|
+
}
|
557
|
+
],
|
558
|
+
"name": "isValidRelease",
|
216
559
|
"outputs": [
|
217
560
|
{
|
218
561
|
"internalType": "bool",
|
@@ -227,16 +570,91 @@
|
|
227
570
|
"inputs": [
|
228
571
|
{
|
229
572
|
"internalType": "address",
|
230
|
-
"name": "
|
573
|
+
"name": "contractAddress",
|
231
574
|
"type": "address"
|
232
575
|
}
|
233
576
|
],
|
577
|
+
"name": "ownerOf",
|
578
|
+
"outputs": [
|
579
|
+
{
|
580
|
+
"internalType": "address",
|
581
|
+
"name": "",
|
582
|
+
"type": "address"
|
583
|
+
}
|
584
|
+
],
|
585
|
+
"stateMutability": "view",
|
586
|
+
"type": "function"
|
587
|
+
},
|
588
|
+
{
|
589
|
+
"inputs": [
|
590
|
+
{
|
591
|
+
"internalType": "NftId",
|
592
|
+
"name": "nftId",
|
593
|
+
"type": "uint96"
|
594
|
+
}
|
595
|
+
],
|
596
|
+
"name": "ownerOf",
|
597
|
+
"outputs": [
|
598
|
+
{
|
599
|
+
"internalType": "address",
|
600
|
+
"name": "",
|
601
|
+
"type": "address"
|
602
|
+
}
|
603
|
+
],
|
604
|
+
"stateMutability": "view",
|
605
|
+
"type": "function"
|
606
|
+
},
|
607
|
+
{
|
608
|
+
"inputs": [
|
609
|
+
{
|
610
|
+
"components": [
|
611
|
+
{
|
612
|
+
"internalType": "NftId",
|
613
|
+
"name": "nftId",
|
614
|
+
"type": "uint96"
|
615
|
+
},
|
616
|
+
{
|
617
|
+
"internalType": "NftId",
|
618
|
+
"name": "parentNftId",
|
619
|
+
"type": "uint96"
|
620
|
+
},
|
621
|
+
{
|
622
|
+
"internalType": "ObjectType",
|
623
|
+
"name": "objectType",
|
624
|
+
"type": "uint8"
|
625
|
+
},
|
626
|
+
{
|
627
|
+
"internalType": "bool",
|
628
|
+
"name": "isInterceptor",
|
629
|
+
"type": "bool"
|
630
|
+
},
|
631
|
+
{
|
632
|
+
"internalType": "address",
|
633
|
+
"name": "objectAddress",
|
634
|
+
"type": "address"
|
635
|
+
},
|
636
|
+
{
|
637
|
+
"internalType": "address",
|
638
|
+
"name": "initialOwner",
|
639
|
+
"type": "address"
|
640
|
+
},
|
641
|
+
{
|
642
|
+
"internalType": "bytes",
|
643
|
+
"name": "data",
|
644
|
+
"type": "bytes"
|
645
|
+
}
|
646
|
+
],
|
647
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
648
|
+
"name": "info",
|
649
|
+
"type": "tuple"
|
650
|
+
}
|
651
|
+
],
|
234
652
|
"name": "register",
|
235
653
|
"outputs": [
|
236
654
|
{
|
237
|
-
"internalType": "
|
655
|
+
"internalType": "NftId",
|
238
656
|
"name": "nftId",
|
239
|
-
"type": "
|
657
|
+
"type": "uint96"
|
240
658
|
}
|
241
659
|
],
|
242
660
|
"stateMutability": "nonpayable",
|
@@ -245,31 +663,143 @@
|
|
245
663
|
{
|
246
664
|
"inputs": [
|
247
665
|
{
|
248
|
-
"
|
249
|
-
|
250
|
-
|
666
|
+
"components": [
|
667
|
+
{
|
668
|
+
"internalType": "NftId",
|
669
|
+
"name": "nftId",
|
670
|
+
"type": "uint96"
|
671
|
+
},
|
672
|
+
{
|
673
|
+
"internalType": "NftId",
|
674
|
+
"name": "parentNftId",
|
675
|
+
"type": "uint96"
|
676
|
+
},
|
677
|
+
{
|
678
|
+
"internalType": "ObjectType",
|
679
|
+
"name": "objectType",
|
680
|
+
"type": "uint8"
|
681
|
+
},
|
682
|
+
{
|
683
|
+
"internalType": "bool",
|
684
|
+
"name": "isInterceptor",
|
685
|
+
"type": "bool"
|
686
|
+
},
|
687
|
+
{
|
688
|
+
"internalType": "address",
|
689
|
+
"name": "objectAddress",
|
690
|
+
"type": "address"
|
691
|
+
},
|
692
|
+
{
|
693
|
+
"internalType": "address",
|
694
|
+
"name": "initialOwner",
|
695
|
+
"type": "address"
|
696
|
+
},
|
697
|
+
{
|
698
|
+
"internalType": "bytes",
|
699
|
+
"name": "data",
|
700
|
+
"type": "bytes"
|
701
|
+
}
|
702
|
+
],
|
703
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
704
|
+
"name": "serviceInfo",
|
705
|
+
"type": "tuple"
|
251
706
|
},
|
252
707
|
{
|
253
|
-
"internalType": "
|
254
|
-
"name": "
|
255
|
-
"type": "
|
708
|
+
"internalType": "VersionPart",
|
709
|
+
"name": "serviceVersion",
|
710
|
+
"type": "uint8"
|
256
711
|
},
|
257
712
|
{
|
258
|
-
"internalType": "
|
259
|
-
"name": "
|
260
|
-
"type": "
|
713
|
+
"internalType": "ObjectType",
|
714
|
+
"name": "serviceDomain",
|
715
|
+
"type": "uint8"
|
261
716
|
}
|
262
717
|
],
|
263
|
-
"name": "
|
718
|
+
"name": "registerService",
|
264
719
|
"outputs": [
|
265
720
|
{
|
266
|
-
"internalType": "
|
721
|
+
"internalType": "NftId",
|
267
722
|
"name": "nftId",
|
268
|
-
"type": "
|
723
|
+
"type": "uint96"
|
269
724
|
}
|
270
725
|
],
|
271
726
|
"stateMutability": "nonpayable",
|
272
727
|
"type": "function"
|
728
|
+
},
|
729
|
+
{
|
730
|
+
"inputs": [
|
731
|
+
{
|
732
|
+
"components": [
|
733
|
+
{
|
734
|
+
"internalType": "NftId",
|
735
|
+
"name": "nftId",
|
736
|
+
"type": "uint96"
|
737
|
+
},
|
738
|
+
{
|
739
|
+
"internalType": "NftId",
|
740
|
+
"name": "parentNftId",
|
741
|
+
"type": "uint96"
|
742
|
+
},
|
743
|
+
{
|
744
|
+
"internalType": "ObjectType",
|
745
|
+
"name": "objectType",
|
746
|
+
"type": "uint8"
|
747
|
+
},
|
748
|
+
{
|
749
|
+
"internalType": "bool",
|
750
|
+
"name": "isInterceptor",
|
751
|
+
"type": "bool"
|
752
|
+
},
|
753
|
+
{
|
754
|
+
"internalType": "address",
|
755
|
+
"name": "objectAddress",
|
756
|
+
"type": "address"
|
757
|
+
},
|
758
|
+
{
|
759
|
+
"internalType": "address",
|
760
|
+
"name": "initialOwner",
|
761
|
+
"type": "address"
|
762
|
+
},
|
763
|
+
{
|
764
|
+
"internalType": "bytes",
|
765
|
+
"name": "data",
|
766
|
+
"type": "bytes"
|
767
|
+
}
|
768
|
+
],
|
769
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
770
|
+
"name": "info",
|
771
|
+
"type": "tuple"
|
772
|
+
}
|
773
|
+
],
|
774
|
+
"name": "registerWithCustomType",
|
775
|
+
"outputs": [
|
776
|
+
{
|
777
|
+
"internalType": "NftId",
|
778
|
+
"name": "nftId",
|
779
|
+
"type": "uint96"
|
780
|
+
}
|
781
|
+
],
|
782
|
+
"stateMutability": "nonpayable",
|
783
|
+
"type": "function"
|
784
|
+
},
|
785
|
+
{
|
786
|
+
"inputs": [
|
787
|
+
{
|
788
|
+
"internalType": "bytes4",
|
789
|
+
"name": "interfaceId",
|
790
|
+
"type": "bytes4"
|
791
|
+
}
|
792
|
+
],
|
793
|
+
"name": "supportsInterface",
|
794
|
+
"outputs": [
|
795
|
+
{
|
796
|
+
"internalType": "bool",
|
797
|
+
"name": "",
|
798
|
+
"type": "bool"
|
799
|
+
}
|
800
|
+
],
|
801
|
+
"stateMutability": "view",
|
802
|
+
"type": "function"
|
273
803
|
}
|
274
804
|
],
|
275
805
|
"bytecode": "0x",
|