@etherisc/gif-next 0.0.2-fb8d07b-779 → 0.0.2-fbe22f0-239
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +136 -2
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +858 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +588 -92
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → components/IComponent.sol/IComponent.json} +208 -143
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +543 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +663 -31
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +648 -5
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +818 -273
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +657 -181
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- 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 +1371 -129
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +132 -21
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +293 -656
- 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 +89 -91
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +395 -122
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +149 -57
- 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/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +243 -55
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- 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 +2 -2
- 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 +1091 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1292 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +560 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +272 -91
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +140 -40
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +217 -58
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +785 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +20 -20
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +771 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +22 -84
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +32 -247
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1352 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +616 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +256 -180
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +140 -52
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +981 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +548 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +208 -224
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +228 -95
- 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 +222 -330
- 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 +197 -109
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +162 -112
- 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 +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +124 -29
- 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 +24 -0
- 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 +5 -5
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +20 -20
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -2
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +130 -11
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +172 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +130 -6
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +126 -11
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +153 -20
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- 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 -2
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +126 -11
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +171 -38
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -8
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- 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/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/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/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/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/contracts/components/Component.sol +230 -0
- package/contracts/components/Distribution.sol +53 -57
- package/contracts/components/IComponent.sol +50 -0
- package/contracts/components/IDistributionComponent.sol +5 -2
- package/contracts/components/IPoolComponent.sol +54 -29
- package/contracts/components/IProductComponent.sol +7 -3
- package/contracts/components/Pool.sol +153 -142
- package/contracts/components/Product.sol +109 -128
- package/contracts/instance/BundleManager.sol +125 -0
- package/contracts/instance/Cloneable.sol +46 -0
- package/contracts/instance/IInstance.sol +41 -8
- package/contracts/instance/IInstanceService.sol +15 -4
- package/contracts/instance/Instance.sol +65 -240
- package/contracts/instance/InstanceAccessManager.sol +87 -78
- package/contracts/instance/InstanceReader.sol +12 -25
- package/contracts/instance/InstanceService.sol +347 -95
- package/contracts/instance/InstanceServiceManager.sol +10 -12
- package/contracts/instance/ObjectManager.sol +84 -0
- package/contracts/instance/base/ComponentService.sol +134 -0
- package/contracts/instance/module/IAccess.sol +27 -18
- package/contracts/instance/module/ISetup.sol +7 -4
- package/contracts/instance/service/ApplicationService.sol +268 -0
- package/contracts/instance/service/BundleService.sol +298 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/DistributionService.sol +45 -27
- package/contracts/instance/service/DistributionServiceManager.sol +10 -12
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +54 -0
- package/contracts/instance/service/IPolicyService.sol +88 -0
- package/contracts/instance/service/IPoolService.sol +6 -23
- package/contracts/instance/service/IProductService.sol +6 -73
- package/contracts/instance/service/PolicyService.sol +524 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +40 -124
- package/contracts/instance/service/PoolServiceManager.sol +10 -12
- package/contracts/instance/service/ProductService.sol +233 -0
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +1 -1
- package/contracts/registry/IRegistry.sol +38 -33
- package/contracts/registry/IRegistryService.sol +45 -13
- package/contracts/registry/Registry.sol +223 -250
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +86 -224
- package/contracts/registry/RegistryServiceManager.sol +18 -36
- package/contracts/registry/ReleaseManager.sol +332 -0
- package/contracts/registry/TokenRegistry.sol +11 -9
- package/contracts/shared/ERC165.sol +12 -11
- package/contracts/shared/INftOwnable.sol +6 -1
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IService.sol +2 -1
- package/contracts/shared/IVersionable.sol +2 -2
- package/contracts/shared/NftOwnable.sol +93 -42
- package/contracts/shared/PolicyHolder.sol +52 -0
- package/contracts/shared/ProxyManager.sol +6 -5
- package/contracts/shared/Registerable.sol +15 -24
- package/contracts/shared/Service.sol +18 -13
- package/contracts/shared/Versionable.sol +3 -2
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +4 -3
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/ObjectType.sol +5 -1
- package/contracts/types/RoleId.sol +10 -9
- package/package.json +3 -3
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
- 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 -1132
- 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/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -91
- package/contracts/components/IBaseComponent.sol +0 -25
- package/contracts/instance/AccessManagedSimple.sol +0 -115
- package/contracts/instance/AccessManagerSimple.sol +0 -692
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/base/ComponentServiceBase.sol +0 -125
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -0,0 +1,261 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "ObjectManager",
|
4
|
+
"sourceName": "contracts/instance/ObjectManager.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
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",
|
22
|
+
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
35
|
+
{
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "caller",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "registry",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "CloneableRegistryInvalid",
|
53
|
+
"type": "error"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [
|
57
|
+
{
|
58
|
+
"internalType": "NftId",
|
59
|
+
"name": "componentNftId",
|
60
|
+
"type": "uint96"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"internalType": "NftId",
|
64
|
+
"name": "objectNftId",
|
65
|
+
"type": "uint96"
|
66
|
+
}
|
67
|
+
],
|
68
|
+
"name": "ErrorObjectManagerAlreadyAdded",
|
69
|
+
"type": "error"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"inputs": [
|
73
|
+
{
|
74
|
+
"internalType": "NftId",
|
75
|
+
"name": "instanceNftId",
|
76
|
+
"type": "uint96"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"name": "ErrorObjectManagerNftIdInvalid",
|
80
|
+
"type": "error"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"inputs": [],
|
84
|
+
"name": "InvalidInitialization",
|
85
|
+
"type": "error"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"inputs": [],
|
89
|
+
"name": "NotInitializing",
|
90
|
+
"type": "error"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"anonymous": false,
|
94
|
+
"inputs": [
|
95
|
+
{
|
96
|
+
"indexed": false,
|
97
|
+
"internalType": "address",
|
98
|
+
"name": "authority",
|
99
|
+
"type": "address"
|
100
|
+
}
|
101
|
+
],
|
102
|
+
"name": "AuthorityUpdated",
|
103
|
+
"type": "event"
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"anonymous": false,
|
107
|
+
"inputs": [
|
108
|
+
{
|
109
|
+
"indexed": false,
|
110
|
+
"internalType": "address",
|
111
|
+
"name": "authority",
|
112
|
+
"type": "address"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"indexed": false,
|
116
|
+
"internalType": "address",
|
117
|
+
"name": "registry",
|
118
|
+
"type": "address"
|
119
|
+
}
|
120
|
+
],
|
121
|
+
"name": "CloneableInitialized",
|
122
|
+
"type": "event"
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"anonymous": false,
|
126
|
+
"inputs": [
|
127
|
+
{
|
128
|
+
"indexed": false,
|
129
|
+
"internalType": "uint64",
|
130
|
+
"name": "version",
|
131
|
+
"type": "uint64"
|
132
|
+
}
|
133
|
+
],
|
134
|
+
"name": "Initialized",
|
135
|
+
"type": "event"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"anonymous": false,
|
139
|
+
"inputs": [
|
140
|
+
{
|
141
|
+
"indexed": false,
|
142
|
+
"internalType": "address",
|
143
|
+
"name": "instance",
|
144
|
+
"type": "address"
|
145
|
+
}
|
146
|
+
],
|
147
|
+
"name": "LogObjectManagerInitialized",
|
148
|
+
"type": "event"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"inputs": [],
|
152
|
+
"name": "authority",
|
153
|
+
"outputs": [
|
154
|
+
{
|
155
|
+
"internalType": "address",
|
156
|
+
"name": "",
|
157
|
+
"type": "address"
|
158
|
+
}
|
159
|
+
],
|
160
|
+
"stateMutability": "view",
|
161
|
+
"type": "function"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"inputs": [],
|
165
|
+
"name": "getInstance",
|
166
|
+
"outputs": [
|
167
|
+
{
|
168
|
+
"internalType": "contract IInstance",
|
169
|
+
"name": "",
|
170
|
+
"type": "address"
|
171
|
+
}
|
172
|
+
],
|
173
|
+
"stateMutability": "view",
|
174
|
+
"type": "function"
|
175
|
+
},
|
176
|
+
{
|
177
|
+
"inputs": [],
|
178
|
+
"name": "getRegistry",
|
179
|
+
"outputs": [
|
180
|
+
{
|
181
|
+
"internalType": "contract IRegistry",
|
182
|
+
"name": "",
|
183
|
+
"type": "address"
|
184
|
+
}
|
185
|
+
],
|
186
|
+
"stateMutability": "view",
|
187
|
+
"type": "function"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"inputs": [
|
191
|
+
{
|
192
|
+
"internalType": "address",
|
193
|
+
"name": "authority",
|
194
|
+
"type": "address"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"internalType": "address",
|
198
|
+
"name": "registry",
|
199
|
+
"type": "address"
|
200
|
+
}
|
201
|
+
],
|
202
|
+
"name": "initialize",
|
203
|
+
"outputs": [],
|
204
|
+
"stateMutability": "nonpayable",
|
205
|
+
"type": "function"
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"inputs": [
|
209
|
+
{
|
210
|
+
"internalType": "address",
|
211
|
+
"name": "authority",
|
212
|
+
"type": "address"
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"internalType": "address",
|
216
|
+
"name": "registry",
|
217
|
+
"type": "address"
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"internalType": "address",
|
221
|
+
"name": "instance",
|
222
|
+
"type": "address"
|
223
|
+
}
|
224
|
+
],
|
225
|
+
"name": "initialize",
|
226
|
+
"outputs": [],
|
227
|
+
"stateMutability": "nonpayable",
|
228
|
+
"type": "function"
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"inputs": [],
|
232
|
+
"name": "isConsumingScheduledOp",
|
233
|
+
"outputs": [
|
234
|
+
{
|
235
|
+
"internalType": "bytes4",
|
236
|
+
"name": "",
|
237
|
+
"type": "bytes4"
|
238
|
+
}
|
239
|
+
],
|
240
|
+
"stateMutability": "view",
|
241
|
+
"type": "function"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"inputs": [
|
245
|
+
{
|
246
|
+
"internalType": "address",
|
247
|
+
"name": "newAuthority",
|
248
|
+
"type": "address"
|
249
|
+
}
|
250
|
+
],
|
251
|
+
"name": "setAuthority",
|
252
|
+
"outputs": [],
|
253
|
+
"stateMutability": "nonpayable",
|
254
|
+
"type": "function"
|
255
|
+
}
|
256
|
+
],
|
257
|
+
"bytecode": "0x608060405234801561001057600080fd5b50600080546001600160a01b03191690556105f0806100306000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638fb360371161005b5780638fb36037146100d4578063bf7e214f146100f5578063c0c53b8b14610113578063de7b5d141461012657600080fd5b8063485cc955146100825780635ab1bd53146100975780637a9e5e4b146100c1575b600080fd5b610095610090366004610502565b610137565b005b6000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6100956100cf366004610535565b6102de565b6100dc61037c565b6040516001600160e01b031990911681526020016100b8565b60008051602061059b833981519152546001600160a01b03166100a4565b610095610121366004610557565b6103b5565b6003546001600160a01b03166100a4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff1660008115801561017d5750825b905060008267ffffffffffffffff16600114801561019a5750303b155b9050811580156101a8575080155b156101c65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156101f057845460ff60401b1916600160401b1785555b6101f987610415565b856001600160a01b03163b6000036102345760405163071669cf60e21b81526001600160a01b03871660048201526024015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0388811691821790925560408051928a16835260208301919091527fa6804c76412ae2d729353ed187a48b0b95177ee5c111049b80878fd127224412910160405180910390a183156102d557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b336102fe60008051602061059b833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146103395760405162d1953b60e31b81526001600160a01b038216600482015260240161022b565b816001600160a01b03163b60000361036f576040516361798f2f60e11b81526001600160a01b038316600482015260240161022b565b61037882610429565b5050565b60008051602061059b833981519152805460009190600160a01b900460ff166103a65760006103af565b638fb3603760e01b5b91505090565b6103bf8383610137565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527fe89455dcb69bf4efd41cbb10c8064808f360b87b03ae8c96349c71f4934ffa0f9060200160405180910390a1505050565b61041d61048a565b610426816104d5565b50565b60008051602061059b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166104d357604051631afcd79f60e31b815260040160405180910390fd5b565b6104dd61048a565b61042681610429565b80356001600160a01b03811681146104fd57600080fd5b919050565b6000806040838503121561051557600080fd5b61051e836104e6565b915061052c602084016104e6565b90509250929050565b60006020828403121561054757600080fd5b610550826104e6565b9392505050565b60008060006060848603121561056c57600080fd5b610575846104e6565b9250610583602085016104e6565b9150610591604085016104e6565b9050925092509256fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212205148de728e6903b14acc8208b110f50ce4cf40816c663be83f7b48fef3ec852564736f6c63430008140033",
|
258
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80638fb360371161005b5780638fb36037146100d4578063bf7e214f146100f5578063c0c53b8b14610113578063de7b5d141461012657600080fd5b8063485cc955146100825780635ab1bd53146100975780637a9e5e4b146100c1575b600080fd5b610095610090366004610502565b610137565b005b6000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6100956100cf366004610535565b6102de565b6100dc61037c565b6040516001600160e01b031990911681526020016100b8565b60008051602061059b833981519152546001600160a01b03166100a4565b610095610121366004610557565b6103b5565b6003546001600160a01b03166100a4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff1660008115801561017d5750825b905060008267ffffffffffffffff16600114801561019a5750303b155b9050811580156101a8575080155b156101c65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156101f057845460ff60401b1916600160401b1785555b6101f987610415565b856001600160a01b03163b6000036102345760405163071669cf60e21b81526001600160a01b03871660048201526024015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0388811691821790925560408051928a16835260208301919091527fa6804c76412ae2d729353ed187a48b0b95177ee5c111049b80878fd127224412910160405180910390a183156102d557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b336102fe60008051602061059b833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146103395760405162d1953b60e31b81526001600160a01b038216600482015260240161022b565b816001600160a01b03163b60000361036f576040516361798f2f60e11b81526001600160a01b038316600482015260240161022b565b61037882610429565b5050565b60008051602061059b833981519152805460009190600160a01b900460ff166103a65760006103af565b638fb3603760e01b5b91505090565b6103bf8383610137565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527fe89455dcb69bf4efd41cbb10c8064808f360b87b03ae8c96349c71f4934ffa0f9060200160405180910390a1505050565b61041d61048a565b610426816104d5565b50565b60008051602061059b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166104d357604051631afcd79f60e31b815260040160405180910390fd5b565b6104dd61048a565b61042681610429565b80356001600160a01b03811681146104fd57600080fd5b919050565b6000806040838503121561051557600080fd5b61051e836104e6565b915061052c602084016104e6565b90509250929050565b60006020828403121561054757600080fd5b610550826104e6565b9392505050565b60008060006060848603121561056c57600080fd5b610575846104e6565b9250610583602085016104e6565b9150610591604085016104e6565b9050925092509256fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212205148de728e6903b14acc8208b110f50ce4cf40816c663be83f7b48fef3ec852564736f6c63430008140033",
|
259
|
+
"linkReferences": {},
|
260
|
+
"deployedLinkReferences": {}
|
261
|
+
}
|
@@ -1,24 +1,29 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "
|
4
|
-
"sourceName": "contracts/instance/base/
|
3
|
+
"contractName": "ComponentService",
|
4
|
+
"sourceName": "contracts/instance/base/ComponentService.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
|
-
"internalType": "
|
10
|
-
"name": "
|
11
|
-
"type": "
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "registry",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "NftId",
|
15
|
+
"name": "nftId",
|
16
|
+
"type": "uint96"
|
12
17
|
}
|
13
18
|
],
|
14
|
-
"name": "
|
19
|
+
"name": "ErrorAlreadyLinked",
|
15
20
|
"type": "error"
|
16
21
|
},
|
17
22
|
{
|
18
23
|
"inputs": [
|
19
24
|
{
|
20
25
|
"internalType": "address",
|
21
|
-
"name": "
|
26
|
+
"name": "component",
|
22
27
|
"type": "address"
|
23
28
|
},
|
24
29
|
{
|
@@ -27,7 +32,92 @@
|
|
27
32
|
"type": "uint96"
|
28
33
|
}
|
29
34
|
],
|
30
|
-
"name": "
|
35
|
+
"name": "ErrorComponentServiceAlreadyRegistered",
|
36
|
+
"type": "error"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"inputs": [
|
40
|
+
{
|
41
|
+
"internalType": "address",
|
42
|
+
"name": "component",
|
43
|
+
"type": "address"
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"name": "ErrorComponentServiceComponentLocked",
|
47
|
+
"type": "error"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"inputs": [
|
51
|
+
{
|
52
|
+
"internalType": "NftId",
|
53
|
+
"name": "instanceNftId",
|
54
|
+
"type": "uint96"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"internalType": "RoleId",
|
58
|
+
"name": "requiredRole",
|
59
|
+
"type": "uint64"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"internalType": "address",
|
63
|
+
"name": "sender",
|
64
|
+
"type": "address"
|
65
|
+
}
|
66
|
+
],
|
67
|
+
"name": "ErrorComponentServiceExpectedRoleMissing",
|
68
|
+
"type": "error"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"inputs": [
|
72
|
+
{
|
73
|
+
"internalType": "address",
|
74
|
+
"name": "component",
|
75
|
+
"type": "address"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"internalType": "ObjectType",
|
79
|
+
"name": "requiredType",
|
80
|
+
"type": "uint8"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"internalType": "ObjectType",
|
84
|
+
"name": "componentType",
|
85
|
+
"type": "uint8"
|
86
|
+
}
|
87
|
+
],
|
88
|
+
"name": "ErrorComponentServiceInvalidType",
|
89
|
+
"type": "error"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"inputs": [
|
93
|
+
{
|
94
|
+
"internalType": "address",
|
95
|
+
"name": "component",
|
96
|
+
"type": "address"
|
97
|
+
}
|
98
|
+
],
|
99
|
+
"name": "ErrorComponentServiceNotComponent",
|
100
|
+
"type": "error"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"inputs": [
|
104
|
+
{
|
105
|
+
"internalType": "address",
|
106
|
+
"name": "component",
|
107
|
+
"type": "address"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"internalType": "address",
|
111
|
+
"name": "initialOwner",
|
112
|
+
"type": "address"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"internalType": "address",
|
116
|
+
"name": "sender",
|
117
|
+
"type": "address"
|
118
|
+
}
|
119
|
+
],
|
120
|
+
"name": "ErrorComponentServiceSenderNotOwner",
|
31
121
|
"type": "error"
|
32
122
|
},
|
33
123
|
{
|
@@ -41,6 +131,11 @@
|
|
41
131
|
"name": "ErrorContractNotRegistered",
|
42
132
|
"type": "error"
|
43
133
|
},
|
134
|
+
{
|
135
|
+
"inputs": [],
|
136
|
+
"name": "ErrorInitialOwnerZero",
|
137
|
+
"type": "error"
|
138
|
+
},
|
44
139
|
{
|
45
140
|
"inputs": [
|
46
141
|
{
|
@@ -95,22 +190,6 @@
|
|
95
190
|
"name": "ErrorRegistryNotInitialized",
|
96
191
|
"type": "error"
|
97
192
|
},
|
98
|
-
{
|
99
|
-
"inputs": [
|
100
|
-
{
|
101
|
-
"internalType": "RoleId",
|
102
|
-
"name": "expected",
|
103
|
-
"type": "uint64"
|
104
|
-
},
|
105
|
-
{
|
106
|
-
"internalType": "address",
|
107
|
-
"name": "caller",
|
108
|
-
"type": "address"
|
109
|
-
}
|
110
|
-
],
|
111
|
-
"name": "ExpectedRoleMissing",
|
112
|
-
"type": "error"
|
113
|
-
},
|
114
193
|
{
|
115
194
|
"inputs": [],
|
116
195
|
"name": "InvalidInitialization",
|
@@ -159,6 +238,19 @@
|
|
159
238
|
"name": "LogVersionableInitialized",
|
160
239
|
"type": "event"
|
161
240
|
},
|
241
|
+
{
|
242
|
+
"inputs": [],
|
243
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
244
|
+
"outputs": [
|
245
|
+
{
|
246
|
+
"internalType": "bytes32",
|
247
|
+
"name": "",
|
248
|
+
"type": "bytes32"
|
249
|
+
}
|
250
|
+
],
|
251
|
+
"stateMutability": "view",
|
252
|
+
"type": "function"
|
253
|
+
},
|
162
254
|
{
|
163
255
|
"inputs": [],
|
164
256
|
"name": "REGISTERABLE_LOCATION_V1",
|
@@ -172,6 +264,19 @@
|
|
172
264
|
"stateMutability": "view",
|
173
265
|
"type": "function"
|
174
266
|
},
|
267
|
+
{
|
268
|
+
"inputs": [],
|
269
|
+
"name": "getDomain",
|
270
|
+
"outputs": [
|
271
|
+
{
|
272
|
+
"internalType": "ObjectType",
|
273
|
+
"name": "",
|
274
|
+
"type": "uint8"
|
275
|
+
}
|
276
|
+
],
|
277
|
+
"stateMutability": "pure",
|
278
|
+
"type": "function"
|
279
|
+
},
|
175
280
|
{
|
176
281
|
"inputs": [],
|
177
282
|
"name": "getInitialInfo",
|
@@ -215,13 +320,21 @@
|
|
215
320
|
}
|
216
321
|
],
|
217
322
|
"internalType": "struct IRegistry.ObjectInfo",
|
218
|
-
"name": "",
|
323
|
+
"name": "info",
|
219
324
|
"type": "tuple"
|
220
|
-
}
|
325
|
+
}
|
326
|
+
],
|
327
|
+
"stateMutability": "view",
|
328
|
+
"type": "function"
|
329
|
+
},
|
330
|
+
{
|
331
|
+
"inputs": [],
|
332
|
+
"name": "getInitialOwner",
|
333
|
+
"outputs": [
|
221
334
|
{
|
222
|
-
"internalType": "
|
223
|
-
"name": "
|
224
|
-
"type": "
|
335
|
+
"internalType": "address",
|
336
|
+
"name": "",
|
337
|
+
"type": "address"
|
225
338
|
}
|
226
339
|
],
|
227
340
|
"stateMutability": "view",
|
@@ -266,19 +379,6 @@
|
|
266
379
|
"stateMutability": "view",
|
267
380
|
"type": "function"
|
268
381
|
},
|
269
|
-
{
|
270
|
-
"inputs": [],
|
271
|
-
"name": "getName",
|
272
|
-
"outputs": [
|
273
|
-
{
|
274
|
-
"internalType": "string",
|
275
|
-
"name": "name",
|
276
|
-
"type": "string"
|
277
|
-
}
|
278
|
-
],
|
279
|
-
"stateMutability": "pure",
|
280
|
-
"type": "function"
|
281
|
-
},
|
282
382
|
{
|
283
383
|
"inputs": [],
|
284
384
|
"name": "getNftId",
|
@@ -422,6 +522,100 @@
|
|
422
522
|
"stateMutability": "view",
|
423
523
|
"type": "function"
|
424
524
|
},
|
525
|
+
{
|
526
|
+
"inputs": [],
|
527
|
+
"name": "initializeERC165",
|
528
|
+
"outputs": [],
|
529
|
+
"stateMutability": "nonpayable",
|
530
|
+
"type": "function"
|
531
|
+
},
|
532
|
+
{
|
533
|
+
"inputs": [
|
534
|
+
{
|
535
|
+
"internalType": "address",
|
536
|
+
"name": "initialOwner",
|
537
|
+
"type": "address"
|
538
|
+
},
|
539
|
+
{
|
540
|
+
"internalType": "address",
|
541
|
+
"name": "registryAddress",
|
542
|
+
"type": "address"
|
543
|
+
}
|
544
|
+
],
|
545
|
+
"name": "initializeNftOwnable",
|
546
|
+
"outputs": [],
|
547
|
+
"stateMutability": "nonpayable",
|
548
|
+
"type": "function"
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"inputs": [
|
552
|
+
{
|
553
|
+
"internalType": "address",
|
554
|
+
"name": "initialOwner",
|
555
|
+
"type": "address"
|
556
|
+
}
|
557
|
+
],
|
558
|
+
"name": "initializeOwner",
|
559
|
+
"outputs": [],
|
560
|
+
"stateMutability": "nonpayable",
|
561
|
+
"type": "function"
|
562
|
+
},
|
563
|
+
{
|
564
|
+
"inputs": [
|
565
|
+
{
|
566
|
+
"internalType": "address",
|
567
|
+
"name": "registryAddress",
|
568
|
+
"type": "address"
|
569
|
+
},
|
570
|
+
{
|
571
|
+
"internalType": "NftId",
|
572
|
+
"name": "parentNftId",
|
573
|
+
"type": "uint96"
|
574
|
+
},
|
575
|
+
{
|
576
|
+
"internalType": "ObjectType",
|
577
|
+
"name": "objectType",
|
578
|
+
"type": "uint8"
|
579
|
+
},
|
580
|
+
{
|
581
|
+
"internalType": "bool",
|
582
|
+
"name": "isInterceptor",
|
583
|
+
"type": "bool"
|
584
|
+
},
|
585
|
+
{
|
586
|
+
"internalType": "address",
|
587
|
+
"name": "initialOwner",
|
588
|
+
"type": "address"
|
589
|
+
},
|
590
|
+
{
|
591
|
+
"internalType": "bytes",
|
592
|
+
"name": "data",
|
593
|
+
"type": "bytes"
|
594
|
+
}
|
595
|
+
],
|
596
|
+
"name": "initializeRegisterable",
|
597
|
+
"outputs": [],
|
598
|
+
"stateMutability": "nonpayable",
|
599
|
+
"type": "function"
|
600
|
+
},
|
601
|
+
{
|
602
|
+
"inputs": [
|
603
|
+
{
|
604
|
+
"internalType": "address",
|
605
|
+
"name": "registry",
|
606
|
+
"type": "address"
|
607
|
+
},
|
608
|
+
{
|
609
|
+
"internalType": "address",
|
610
|
+
"name": "initialOwner",
|
611
|
+
"type": "address"
|
612
|
+
}
|
613
|
+
],
|
614
|
+
"name": "initializeService",
|
615
|
+
"outputs": [],
|
616
|
+
"stateMutability": "nonpayable",
|
617
|
+
"type": "function"
|
618
|
+
},
|
425
619
|
{
|
426
620
|
"inputs": [
|
427
621
|
{
|
@@ -440,7 +634,7 @@
|
|
440
634
|
"type": "bytes"
|
441
635
|
}
|
442
636
|
],
|
443
|
-
"name": "
|
637
|
+
"name": "initializeVersionable",
|
444
638
|
"outputs": [],
|
445
639
|
"stateMutability": "nonpayable",
|
446
640
|
"type": "function"
|
@@ -474,19 +668,13 @@
|
|
474
668
|
{
|
475
669
|
"inputs": [
|
476
670
|
{
|
477
|
-
"internalType": "
|
478
|
-
"name": "
|
479
|
-
"type": "
|
480
|
-
}
|
481
|
-
],
|
482
|
-
"name": "register",
|
483
|
-
"outputs": [
|
484
|
-
{
|
485
|
-
"internalType": "NftId",
|
486
|
-
"name": "componentNftId",
|
487
|
-
"type": "uint96"
|
671
|
+
"internalType": "bytes4",
|
672
|
+
"name": "interfaceId",
|
673
|
+
"type": "bytes4"
|
488
674
|
}
|
489
675
|
],
|
676
|
+
"name": "registerInterface",
|
677
|
+
"outputs": [],
|
490
678
|
"stateMutability": "nonpayable",
|
491
679
|
"type": "function"
|
492
680
|
},
|
@@ -527,7 +715,7 @@
|
|
527
715
|
"type": "bytes"
|
528
716
|
}
|
529
717
|
],
|
530
|
-
"name": "
|
718
|
+
"name": "upgradeVersionable",
|
531
719
|
"outputs": [],
|
532
720
|
"stateMutability": "nonpayable",
|
533
721
|
"type": "function"
|