@etherisc/gif-next 0.0.2-ce8407f-016 → 0.0.2-ce87da3-250
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +243 -2
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +853 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +1346 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → components/IComponent.sol/IComponent.json} +195 -150
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +900 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +887 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +806 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/components/Pool.sol/Pool.json +1322 -0
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/components/Product.sol/Product.json +1246 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +86 -2
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2475 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +509 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +1051 -1183
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +211 -144
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +562 -54
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +958 -29
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +693 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +552 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +0 -77
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +10 -244
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +869 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +657 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1096 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1254 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +753 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +473 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +633 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +639 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +583 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +347 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +384 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1120 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +717 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +727 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +649 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +777 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +47 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +236 -63
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +323 -178
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +210 -212
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +432 -268
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +323 -129
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- 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/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/IService.sol/IService.json} +67 -39
- 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/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/IService.sol/IService.json → shared/Service.sol/Service.json} +155 -151
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
- 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/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +111 -5
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +147 -226
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +2 -2
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
- package/contracts/components/Component.sol +241 -0
- package/contracts/components/Distribution.sol +287 -0
- package/contracts/components/IComponent.sol +54 -0
- package/contracts/components/IDistributionComponent.sol +92 -0
- package/contracts/components/IPoolComponent.sol +87 -0
- package/contracts/components/IProductComponent.sol +39 -0
- package/contracts/components/Pool.sol +254 -0
- package/contracts/components/Product.sol +285 -0
- package/contracts/instance/BundleManager.sol +125 -0
- package/contracts/instance/Cloneable.sol +46 -0
- package/contracts/instance/IInstance.sol +87 -1
- package/contracts/instance/IInstanceService.sol +59 -0
- package/contracts/instance/Instance.sol +137 -238
- package/contracts/instance/InstanceAccessManager.sol +90 -81
- package/contracts/instance/InstanceReader.sol +86 -28
- package/contracts/instance/InstanceService.sol +453 -22
- package/contracts/instance/InstanceServiceManager.sol +54 -0
- package/contracts/instance/ObjectManager.sol +84 -0
- package/contracts/instance/base/ComponentService.sol +134 -0
- package/contracts/instance/base/IKeyValueStore.sol +5 -4
- package/contracts/instance/base/KeyValueStore.sol +4 -20
- package/contracts/instance/module/IAccess.sol +28 -19
- package/contracts/instance/module/IBundle.sol +1 -0
- package/contracts/instance/module/IDistribution.sol +1 -0
- package/contracts/instance/module/IPolicy.sol +4 -2
- package/contracts/instance/module/ISetup.sol +10 -3
- package/contracts/instance/module/ITreasury.sol +1 -1
- package/contracts/instance/service/ApplicationService.sol +268 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +298 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ClaimService.sol +151 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +366 -0
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +54 -0
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +81 -0
- package/contracts/instance/service/IPolicyService.sol +89 -0
- package/contracts/instance/service/IPoolService.sol +20 -0
- package/contracts/instance/service/IProductService.sol +40 -0
- package/contracts/instance/service/PolicyService.sol +476 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +109 -0
- package/contracts/instance/service/PoolServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +233 -0
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +41 -26
- package/contracts/registry/IRegistry.sol +51 -25
- package/contracts/registry/IRegistryService.sol +54 -16
- package/contracts/registry/Registry.sol +279 -306
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +170 -256
- package/contracts/registry/RegistryServiceManager.sol +30 -11
- package/contracts/registry/ReleaseManager.sol +322 -0
- package/contracts/registry/TokenRegistry.sol +116 -0
- package/contracts/shared/ERC165.sol +15 -9
- package/contracts/shared/INftOwnable.sol +11 -10
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +18 -0
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +67 -83
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +101 -26
- package/contracts/shared/Registerable.sol +15 -30
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +58 -0
- package/contracts/shared/TokenHandler.sol +2 -2
- package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
- package/contracts/shared/Versionable.sol +5 -93
- package/contracts/test/TestFee.sol +2 -2
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestRoleId.sol +6 -6
- package/contracts/test/TestService.sol +6 -7
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/Fee.sol +3 -3
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/ObjectType.sol +9 -5
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/RoleId.sol +19 -4
- package/contracts/types/StateId.sol +4 -0
- package/contracts/types/UFixed.sol +128 -12
- package/contracts/types/Version.sol +4 -1
- package/package.json +6 -5
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- 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/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/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/contracts/components/IBaseComponent.sol +0 -19
- 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 -114
- package/contracts/instance/AccessManagerSimple.sol +0 -682
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/base/IService.sol +0 -15
- package/contracts/instance/base/ServiceBase.sol +0 -44
- package/contracts/registry/IChainNft.sol +0 -22
@@ -7,16 +7,60 @@
|
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
10
|
+
"name": "authority",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "caller",
|
11
22
|
"type": "address"
|
12
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
|
+
{
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "caller",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorIServiceCallerUnknown",
|
53
|
+
"type": "error"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [
|
13
57
|
{
|
14
58
|
"internalType": "NftId",
|
15
59
|
"name": "nftId",
|
16
60
|
"type": "uint96"
|
17
61
|
}
|
18
62
|
],
|
19
|
-
"name": "
|
63
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
20
64
|
"type": "error"
|
21
65
|
},
|
22
66
|
{
|
@@ -27,7 +71,12 @@
|
|
27
71
|
"type": "address"
|
28
72
|
}
|
29
73
|
],
|
30
|
-
"name": "
|
74
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
75
|
+
"type": "error"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"inputs": [],
|
79
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
31
80
|
"type": "error"
|
32
81
|
},
|
33
82
|
{
|
@@ -38,7 +87,7 @@
|
|
38
87
|
"type": "address"
|
39
88
|
}
|
40
89
|
],
|
41
|
-
"name": "
|
90
|
+
"name": "ErrorNftOwnableNotOwner",
|
42
91
|
"type": "error"
|
43
92
|
},
|
44
93
|
{
|
@@ -52,51 +101,163 @@
|
|
52
101
|
"name": "ErrorNotRegistry",
|
53
102
|
"type": "error"
|
54
103
|
},
|
104
|
+
{
|
105
|
+
"inputs": [
|
106
|
+
{
|
107
|
+
"internalType": "address",
|
108
|
+
"name": "registerableAddress",
|
109
|
+
"type": "address"
|
110
|
+
}
|
111
|
+
],
|
112
|
+
"name": "InvalidAddress",
|
113
|
+
"type": "error"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"inputs": [
|
117
|
+
{
|
118
|
+
"internalType": "address",
|
119
|
+
"name": "initialOwner",
|
120
|
+
"type": "address"
|
121
|
+
}
|
122
|
+
],
|
123
|
+
"name": "InvalidInitialOwner",
|
124
|
+
"type": "error"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"inputs": [],
|
128
|
+
"name": "NotDistribution",
|
129
|
+
"type": "error"
|
130
|
+
},
|
55
131
|
{
|
56
132
|
"inputs": [],
|
57
|
-
"name": "
|
133
|
+
"name": "NotInstance",
|
134
|
+
"type": "error"
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"inputs": [],
|
138
|
+
"name": "NotPool",
|
139
|
+
"type": "error"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"inputs": [],
|
143
|
+
"name": "NotProduct",
|
58
144
|
"type": "error"
|
59
145
|
},
|
60
146
|
{
|
61
147
|
"inputs": [
|
62
148
|
{
|
63
149
|
"internalType": "address",
|
64
|
-
"name": "
|
150
|
+
"name": "expectedOwner",
|
65
151
|
"type": "address"
|
66
152
|
}
|
67
153
|
],
|
68
|
-
"name": "
|
154
|
+
"name": "NotRegisterableOwner",
|
69
155
|
"type": "error"
|
70
156
|
},
|
71
157
|
{
|
72
158
|
"inputs": [],
|
73
|
-
"name": "
|
159
|
+
"name": "NotRegistryOwner",
|
160
|
+
"type": "error"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"inputs": [],
|
164
|
+
"name": "NotService",
|
165
|
+
"type": "error"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"inputs": [],
|
169
|
+
"name": "RegisterableOwnerIsRegistered",
|
170
|
+
"type": "error"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"inputs": [],
|
174
|
+
"name": "RegisterableOwnerIsZero",
|
175
|
+
"type": "error"
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"inputs": [],
|
179
|
+
"name": "SelfRegistration",
|
74
180
|
"type": "error"
|
75
181
|
},
|
76
182
|
{
|
77
|
-
"anonymous": false,
|
78
183
|
"inputs": [
|
79
184
|
{
|
80
|
-
"
|
81
|
-
"
|
82
|
-
"
|
83
|
-
"type": "uint24"
|
185
|
+
"internalType": "ObjectType",
|
186
|
+
"name": "expected",
|
187
|
+
"type": "uint8"
|
84
188
|
},
|
189
|
+
{
|
190
|
+
"internalType": "ObjectType",
|
191
|
+
"name": "found",
|
192
|
+
"type": "uint8"
|
193
|
+
}
|
194
|
+
],
|
195
|
+
"name": "UnexpectedRegisterableType",
|
196
|
+
"type": "error"
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"anonymous": false,
|
200
|
+
"inputs": [
|
85
201
|
{
|
86
202
|
"indexed": false,
|
87
203
|
"internalType": "address",
|
88
|
-
"name": "
|
204
|
+
"name": "authority",
|
89
205
|
"type": "address"
|
90
|
-
}
|
206
|
+
}
|
207
|
+
],
|
208
|
+
"name": "AuthorityUpdated",
|
209
|
+
"type": "event"
|
210
|
+
},
|
211
|
+
{
|
212
|
+
"inputs": [],
|
213
|
+
"name": "authority",
|
214
|
+
"outputs": [
|
91
215
|
{
|
92
|
-
"indexed": false,
|
93
216
|
"internalType": "address",
|
94
|
-
"name": "
|
217
|
+
"name": "",
|
95
218
|
"type": "address"
|
96
219
|
}
|
97
220
|
],
|
98
|
-
"
|
99
|
-
"type": "
|
221
|
+
"stateMutability": "view",
|
222
|
+
"type": "function"
|
223
|
+
},
|
224
|
+
{
|
225
|
+
"inputs": [],
|
226
|
+
"name": "getDomain",
|
227
|
+
"outputs": [
|
228
|
+
{
|
229
|
+
"internalType": "ObjectType",
|
230
|
+
"name": "serviceDomain",
|
231
|
+
"type": "uint8"
|
232
|
+
}
|
233
|
+
],
|
234
|
+
"stateMutability": "pure",
|
235
|
+
"type": "function"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"inputs": [],
|
239
|
+
"name": "getFunctionConfigs",
|
240
|
+
"outputs": [
|
241
|
+
{
|
242
|
+
"components": [
|
243
|
+
{
|
244
|
+
"internalType": "ObjectType",
|
245
|
+
"name": "serviceDomain",
|
246
|
+
"type": "uint8"
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"internalType": "bytes4[]",
|
250
|
+
"name": "selectors",
|
251
|
+
"type": "bytes4[]"
|
252
|
+
}
|
253
|
+
],
|
254
|
+
"internalType": "struct IRegistryService.FunctionConfig[]",
|
255
|
+
"name": "config",
|
256
|
+
"type": "tuple[]"
|
257
|
+
}
|
258
|
+
],
|
259
|
+
"stateMutability": "pure",
|
260
|
+
"type": "function"
|
100
261
|
},
|
101
262
|
{
|
102
263
|
"inputs": [],
|
@@ -143,24 +304,6 @@
|
|
143
304
|
"internalType": "struct IRegistry.ObjectInfo",
|
144
305
|
"name": "",
|
145
306
|
"type": "tuple"
|
146
|
-
},
|
147
|
-
{
|
148
|
-
"internalType": "bytes",
|
149
|
-
"name": "data",
|
150
|
-
"type": "bytes"
|
151
|
-
}
|
152
|
-
],
|
153
|
-
"stateMutability": "view",
|
154
|
-
"type": "function"
|
155
|
-
},
|
156
|
-
{
|
157
|
-
"inputs": [],
|
158
|
-
"name": "getInitializedVersion",
|
159
|
-
"outputs": [
|
160
|
-
{
|
161
|
-
"internalType": "uint64",
|
162
|
-
"name": "",
|
163
|
-
"type": "uint64"
|
164
307
|
}
|
165
308
|
],
|
166
309
|
"stateMutability": "view",
|
@@ -179,19 +322,6 @@
|
|
179
322
|
"stateMutability": "view",
|
180
323
|
"type": "function"
|
181
324
|
},
|
182
|
-
{
|
183
|
-
"inputs": [],
|
184
|
-
"name": "getName",
|
185
|
-
"outputs": [
|
186
|
-
{
|
187
|
-
"internalType": "string",
|
188
|
-
"name": "name",
|
189
|
-
"type": "string"
|
190
|
-
}
|
191
|
-
],
|
192
|
-
"stateMutability": "pure",
|
193
|
-
"type": "function"
|
194
|
-
},
|
195
325
|
{
|
196
326
|
"inputs": [],
|
197
327
|
"name": "getNftId",
|
@@ -233,31 +363,12 @@
|
|
233
363
|
},
|
234
364
|
{
|
235
365
|
"inputs": [],
|
236
|
-
"name": "
|
366
|
+
"name": "getRegistryAddress",
|
237
367
|
"outputs": [
|
238
368
|
{
|
239
|
-
"internalType": "
|
369
|
+
"internalType": "address",
|
240
370
|
"name": "",
|
241
|
-
"type": "
|
242
|
-
}
|
243
|
-
],
|
244
|
-
"stateMutability": "pure",
|
245
|
-
"type": "function"
|
246
|
-
},
|
247
|
-
{
|
248
|
-
"inputs": [
|
249
|
-
{
|
250
|
-
"internalType": "uint256",
|
251
|
-
"name": "index",
|
252
|
-
"type": "uint256"
|
253
|
-
}
|
254
|
-
],
|
255
|
-
"name": "getVersion",
|
256
|
-
"outputs": [
|
257
|
-
{
|
258
|
-
"internalType": "Version",
|
259
|
-
"name": "version",
|
260
|
-
"type": "uint24"
|
371
|
+
"type": "address"
|
261
372
|
}
|
262
373
|
],
|
263
374
|
"stateMutability": "view",
|
@@ -265,70 +376,19 @@
|
|
265
376
|
},
|
266
377
|
{
|
267
378
|
"inputs": [],
|
268
|
-
"name": "
|
379
|
+
"name": "getVersion",
|
269
380
|
"outputs": [
|
270
|
-
{
|
271
|
-
"internalType": "uint256",
|
272
|
-
"name": "numberOfVersions",
|
273
|
-
"type": "uint256"
|
274
|
-
}
|
275
|
-
],
|
276
|
-
"stateMutability": "view",
|
277
|
-
"type": "function"
|
278
|
-
},
|
279
|
-
{
|
280
|
-
"inputs": [
|
281
381
|
{
|
282
382
|
"internalType": "Version",
|
283
|
-
"name": "
|
383
|
+
"name": "",
|
284
384
|
"type": "uint24"
|
285
385
|
}
|
286
386
|
],
|
287
|
-
"
|
288
|
-
"outputs": [
|
289
|
-
{
|
290
|
-
"components": [
|
291
|
-
{
|
292
|
-
"internalType": "Version",
|
293
|
-
"name": "version",
|
294
|
-
"type": "uint24"
|
295
|
-
},
|
296
|
-
{
|
297
|
-
"internalType": "address",
|
298
|
-
"name": "implementation",
|
299
|
-
"type": "address"
|
300
|
-
},
|
301
|
-
{
|
302
|
-
"internalType": "address",
|
303
|
-
"name": "activatedBy",
|
304
|
-
"type": "address"
|
305
|
-
},
|
306
|
-
{
|
307
|
-
"internalType": "Timestamp",
|
308
|
-
"name": "activatedAt",
|
309
|
-
"type": "uint40"
|
310
|
-
},
|
311
|
-
{
|
312
|
-
"internalType": "Blocknumber",
|
313
|
-
"name": "activatedIn",
|
314
|
-
"type": "uint32"
|
315
|
-
}
|
316
|
-
],
|
317
|
-
"internalType": "struct IVersionable.VersionInfo",
|
318
|
-
"name": "versionInfo",
|
319
|
-
"type": "tuple"
|
320
|
-
}
|
321
|
-
],
|
322
|
-
"stateMutability": "view",
|
387
|
+
"stateMutability": "pure",
|
323
388
|
"type": "function"
|
324
389
|
},
|
325
390
|
{
|
326
391
|
"inputs": [
|
327
|
-
{
|
328
|
-
"internalType": "address",
|
329
|
-
"name": "implementation",
|
330
|
-
"type": "address"
|
331
|
-
},
|
332
392
|
{
|
333
393
|
"internalType": "address",
|
334
394
|
"name": "activatedBy",
|
@@ -340,25 +400,19 @@
|
|
340
400
|
"type": "bytes"
|
341
401
|
}
|
342
402
|
],
|
343
|
-
"name": "
|
403
|
+
"name": "initializeVersionable",
|
344
404
|
"outputs": [],
|
345
405
|
"stateMutability": "nonpayable",
|
346
406
|
"type": "function"
|
347
407
|
},
|
348
408
|
{
|
349
|
-
"inputs": [
|
350
|
-
|
351
|
-
"internalType": "Version",
|
352
|
-
"name": "version",
|
353
|
-
"type": "uint24"
|
354
|
-
}
|
355
|
-
],
|
356
|
-
"name": "isInitialized",
|
409
|
+
"inputs": [],
|
410
|
+
"name": "isConsumingScheduledOp",
|
357
411
|
"outputs": [
|
358
412
|
{
|
359
|
-
"internalType": "
|
413
|
+
"internalType": "bytes4",
|
360
414
|
"name": "",
|
361
|
-
"type": "
|
415
|
+
"type": "bytes4"
|
362
416
|
}
|
363
417
|
],
|
364
418
|
"stateMutability": "view",
|
@@ -430,22 +484,17 @@
|
|
430
484
|
{
|
431
485
|
"inputs": [
|
432
486
|
{
|
433
|
-
"internalType": "contract
|
434
|
-
"name": "
|
487
|
+
"internalType": "contract IComponent",
|
488
|
+
"name": "distribution",
|
435
489
|
"type": "address"
|
436
490
|
},
|
437
|
-
{
|
438
|
-
"internalType": "ObjectType",
|
439
|
-
"name": "componentType",
|
440
|
-
"type": "uint8"
|
441
|
-
},
|
442
491
|
{
|
443
492
|
"internalType": "address",
|
444
493
|
"name": "owner",
|
445
494
|
"type": "address"
|
446
495
|
}
|
447
496
|
],
|
448
|
-
"name": "
|
497
|
+
"name": "registerDistribution",
|
449
498
|
"outputs": [
|
450
499
|
{
|
451
500
|
"components": [
|
@@ -488,11 +537,62 @@
|
|
488
537
|
"internalType": "struct IRegistry.ObjectInfo",
|
489
538
|
"name": "info",
|
490
539
|
"type": "tuple"
|
491
|
-
}
|
540
|
+
}
|
541
|
+
],
|
542
|
+
"stateMutability": "nonpayable",
|
543
|
+
"type": "function"
|
544
|
+
},
|
545
|
+
{
|
546
|
+
"inputs": [
|
492
547
|
{
|
493
|
-
"
|
494
|
-
|
495
|
-
|
548
|
+
"components": [
|
549
|
+
{
|
550
|
+
"internalType": "NftId",
|
551
|
+
"name": "nftId",
|
552
|
+
"type": "uint96"
|
553
|
+
},
|
554
|
+
{
|
555
|
+
"internalType": "NftId",
|
556
|
+
"name": "parentNftId",
|
557
|
+
"type": "uint96"
|
558
|
+
},
|
559
|
+
{
|
560
|
+
"internalType": "ObjectType",
|
561
|
+
"name": "objectType",
|
562
|
+
"type": "uint8"
|
563
|
+
},
|
564
|
+
{
|
565
|
+
"internalType": "bool",
|
566
|
+
"name": "isInterceptor",
|
567
|
+
"type": "bool"
|
568
|
+
},
|
569
|
+
{
|
570
|
+
"internalType": "address",
|
571
|
+
"name": "objectAddress",
|
572
|
+
"type": "address"
|
573
|
+
},
|
574
|
+
{
|
575
|
+
"internalType": "address",
|
576
|
+
"name": "initialOwner",
|
577
|
+
"type": "address"
|
578
|
+
},
|
579
|
+
{
|
580
|
+
"internalType": "bytes",
|
581
|
+
"name": "data",
|
582
|
+
"type": "bytes"
|
583
|
+
}
|
584
|
+
],
|
585
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
586
|
+
"name": "info",
|
587
|
+
"type": "tuple"
|
588
|
+
}
|
589
|
+
],
|
590
|
+
"name": "registerDistributor",
|
591
|
+
"outputs": [
|
592
|
+
{
|
593
|
+
"internalType": "NftId",
|
594
|
+
"name": "nftId",
|
595
|
+
"type": "uint96"
|
496
596
|
}
|
497
597
|
],
|
498
598
|
"stateMutability": "nonpayable",
|
@@ -504,6 +604,11 @@
|
|
504
604
|
"internalType": "contract IRegisterable",
|
505
605
|
"name": "instance",
|
506
606
|
"type": "address"
|
607
|
+
},
|
608
|
+
{
|
609
|
+
"internalType": "address",
|
610
|
+
"name": "owner",
|
611
|
+
"type": "address"
|
507
612
|
}
|
508
613
|
],
|
509
614
|
"name": "registerInstance",
|
@@ -549,11 +654,6 @@
|
|
549
654
|
"internalType": "struct IRegistry.ObjectInfo",
|
550
655
|
"name": "info",
|
551
656
|
"type": "tuple"
|
552
|
-
},
|
553
|
-
{
|
554
|
-
"internalType": "bytes",
|
555
|
-
"name": "data",
|
556
|
-
"type": "bytes"
|
557
657
|
}
|
558
658
|
],
|
559
659
|
"stateMutability": "nonpayable",
|
@@ -618,12 +718,17 @@
|
|
618
718
|
{
|
619
719
|
"inputs": [
|
620
720
|
{
|
621
|
-
"internalType": "contract
|
622
|
-
"name": "
|
721
|
+
"internalType": "contract IComponent",
|
722
|
+
"name": "pool",
|
723
|
+
"type": "address"
|
724
|
+
},
|
725
|
+
{
|
726
|
+
"internalType": "address",
|
727
|
+
"name": "owner",
|
623
728
|
"type": "address"
|
624
729
|
}
|
625
730
|
],
|
626
|
-
"name": "
|
731
|
+
"name": "registerPool",
|
627
732
|
"outputs": [
|
628
733
|
{
|
629
734
|
"components": [
|
@@ -666,11 +771,6 @@
|
|
666
771
|
"internalType": "struct IRegistry.ObjectInfo",
|
667
772
|
"name": "info",
|
668
773
|
"type": "tuple"
|
669
|
-
},
|
670
|
-
{
|
671
|
-
"internalType": "bytes",
|
672
|
-
"name": "data",
|
673
|
-
"type": "bytes"
|
674
774
|
}
|
675
775
|
],
|
676
776
|
"stateMutability": "nonpayable",
|
@@ -678,23 +778,78 @@
|
|
678
778
|
},
|
679
779
|
{
|
680
780
|
"inputs": [
|
781
|
+
{
|
782
|
+
"internalType": "contract IComponent",
|
783
|
+
"name": "product",
|
784
|
+
"type": "address"
|
785
|
+
},
|
681
786
|
{
|
682
787
|
"internalType": "address",
|
683
|
-
"name": "
|
788
|
+
"name": "owner",
|
684
789
|
"type": "address"
|
685
790
|
}
|
686
791
|
],
|
687
|
-
"name": "
|
792
|
+
"name": "registerProduct",
|
688
793
|
"outputs": [
|
689
794
|
{
|
690
|
-
"
|
691
|
-
|
692
|
-
|
795
|
+
"components": [
|
796
|
+
{
|
797
|
+
"internalType": "NftId",
|
798
|
+
"name": "nftId",
|
799
|
+
"type": "uint96"
|
800
|
+
},
|
801
|
+
{
|
802
|
+
"internalType": "NftId",
|
803
|
+
"name": "parentNftId",
|
804
|
+
"type": "uint96"
|
805
|
+
},
|
806
|
+
{
|
807
|
+
"internalType": "ObjectType",
|
808
|
+
"name": "objectType",
|
809
|
+
"type": "uint8"
|
810
|
+
},
|
811
|
+
{
|
812
|
+
"internalType": "bool",
|
813
|
+
"name": "isInterceptor",
|
814
|
+
"type": "bool"
|
815
|
+
},
|
816
|
+
{
|
817
|
+
"internalType": "address",
|
818
|
+
"name": "objectAddress",
|
819
|
+
"type": "address"
|
820
|
+
},
|
821
|
+
{
|
822
|
+
"internalType": "address",
|
823
|
+
"name": "initialOwner",
|
824
|
+
"type": "address"
|
825
|
+
},
|
826
|
+
{
|
827
|
+
"internalType": "bytes",
|
828
|
+
"name": "data",
|
829
|
+
"type": "bytes"
|
830
|
+
}
|
831
|
+
],
|
832
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
833
|
+
"name": "info",
|
834
|
+
"type": "tuple"
|
693
835
|
}
|
694
836
|
],
|
695
837
|
"stateMutability": "nonpayable",
|
696
838
|
"type": "function"
|
697
839
|
},
|
840
|
+
{
|
841
|
+
"inputs": [
|
842
|
+
{
|
843
|
+
"internalType": "address",
|
844
|
+
"name": "",
|
845
|
+
"type": "address"
|
846
|
+
}
|
847
|
+
],
|
848
|
+
"name": "setAuthority",
|
849
|
+
"outputs": [],
|
850
|
+
"stateMutability": "nonpayable",
|
851
|
+
"type": "function"
|
852
|
+
},
|
698
853
|
{
|
699
854
|
"inputs": [
|
700
855
|
{
|
@@ -716,23 +871,13 @@
|
|
716
871
|
},
|
717
872
|
{
|
718
873
|
"inputs": [
|
719
|
-
{
|
720
|
-
"internalType": "address",
|
721
|
-
"name": "implementation",
|
722
|
-
"type": "address"
|
723
|
-
},
|
724
|
-
{
|
725
|
-
"internalType": "address",
|
726
|
-
"name": "activatedBy",
|
727
|
-
"type": "address"
|
728
|
-
},
|
729
874
|
{
|
730
875
|
"internalType": "bytes",
|
731
876
|
"name": "upgradeData",
|
732
877
|
"type": "bytes"
|
733
878
|
}
|
734
879
|
],
|
735
|
-
"name": "
|
880
|
+
"name": "upgradeVersionable",
|
736
881
|
"outputs": [],
|
737
882
|
"stateMutability": "nonpayable",
|
738
883
|
"type": "function"
|