@etherisc/gif-next 0.0.2-e5a2253-213 → 0.0.2-e69072e-892
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +73 -1
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → Component.sol/Component.json} +340 -59
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +804 -211
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{IBaseComponent.sol/IBaseComponent.json → IComponent.sol/IComponent.json} +95 -56
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +699 -22
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +814 -60
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +519 -4
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +896 -298
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +442 -129
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +38 -62
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +910 -289
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +110 -171
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +874 -557
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +52 -115
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +101 -168
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +346 -263
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +319 -86
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -32
- 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} +119 -189
- 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 +13 -13
- 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 +968 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +258 -283
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +305 -80
- 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 +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +983 -221
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +441 -72
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +130 -217
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/service/IClaimService.sol/IClaimService.json} +146 -179
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +552 -140
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +40 -292
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +22 -174
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +22 -174
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +161 -407
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +311 -114
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +139 -237
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +302 -77
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +139 -237
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +302 -77
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +98 -5
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +112 -198
- 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 +112 -27
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +18 -18
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +216 -234
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +300 -81
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +70 -53
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +151 -50
- 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 +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +22 -174
- 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 +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +114 -157
- 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 -152
- 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 +129 -51
- 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 +135 -214
- 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 -190
- 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/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/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 +2 -2
- 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/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- 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/Timestamp.sol/TimestampLib.json +25 -7
- 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 +221 -0
- package/contracts/components/Distribution.sol +206 -67
- package/contracts/components/IComponent.sol +68 -0
- package/contracts/components/IDistributionComponent.sol +44 -9
- package/contracts/components/IPoolComponent.sol +124 -39
- package/contracts/components/IProductComponent.sol +8 -3
- package/contracts/components/Pool.sol +284 -164
- package/contracts/components/Product.sol +110 -116
- package/contracts/instance/BundleManager.sol +8 -12
- package/contracts/instance/IInstance.sol +41 -9
- package/contracts/instance/IInstanceService.sol +20 -1
- package/contracts/instance/Instance.sol +90 -61
- package/contracts/instance/InstanceAccessManager.sol +18 -24
- package/contracts/instance/InstanceReader.sol +3 -25
- package/contracts/instance/InstanceService.sol +195 -50
- package/contracts/instance/InstanceServiceManager.sol +1 -1
- package/contracts/instance/ObjectManager.sol +7 -24
- package/contracts/instance/base/{ComponentServiceBase.sol → ComponentService.sol} +9 -13
- package/contracts/instance/module/IAccess.sol +3 -4
- package/contracts/instance/module/IBundle.sol +2 -1
- package/contracts/instance/module/IDistribution.sol +2 -0
- package/contracts/instance/module/IPolicy.sol +30 -3
- package/contracts/instance/module/ISetup.sol +10 -10
- package/contracts/instance/service/ApplicationService.sol +350 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +17 -12
- package/contracts/instance/service/BundleServiceManager.sol +1 -1
- package/contracts/instance/service/ClaimService.sol +151 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +312 -33
- package/contracts/instance/service/DistributionServiceManager.sol +1 -1
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +14 -3
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +74 -0
- package/contracts/instance/service/IPolicyService.sol +26 -50
- package/contracts/instance/service/PolicyService.sol +127 -262
- package/contracts/instance/service/PolicyServiceManager.sol +2 -2
- package/contracts/instance/service/PoolService.sol +12 -45
- package/contracts/instance/service/PoolServiceManager.sol +1 -1
- package/contracts/instance/service/ProductService.sol +50 -26
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/IRegistry.sol +16 -8
- package/contracts/registry/IRegistryService.sol +19 -10
- package/contracts/registry/Registry.sol +120 -52
- package/contracts/registry/RegistryAccessManager.sol +31 -25
- package/contracts/registry/RegistryService.sol +91 -128
- package/contracts/registry/RegistryServiceManager.sol +13 -13
- package/contracts/registry/ReleaseManager.sol +86 -106
- package/contracts/registry/TokenRegistry.sol +19 -13
- package/contracts/shared/ERC165.sol +14 -12
- package/contracts/shared/INftOwnable.sol +11 -10
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +4 -4
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +2 -0
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +66 -80
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +100 -25
- package/contracts/shared/Registerable.sol +16 -32
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +19 -19
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +1 -1
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/ObjectType.sol +9 -5
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/RoleId.sol +12 -7
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/Timestamp.sol +12 -13
- package/package.json +3 -3
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/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/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
- 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 -100
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -168
- package/contracts/components/IBaseComponent.sol +0 -35
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
- package/contracts/instance/IInstanceBase.sol +0 -25
- package/contracts/instance/InstanceBase.sol +0 -39
- package/contracts/instance/base/IInstanceBase.sol +0 -21
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -3,11 +3,6 @@
|
|
3
3
|
"contractName": "ObjectManager",
|
4
4
|
"sourceName": "contracts/instance/ObjectManager.sol",
|
5
5
|
"abi": [
|
6
|
-
{
|
7
|
-
"inputs": [],
|
8
|
-
"stateMutability": "nonpayable",
|
9
|
-
"type": "constructor"
|
10
|
-
},
|
11
6
|
{
|
12
7
|
"inputs": [
|
13
8
|
{
|
@@ -142,16 +137,10 @@
|
|
142
137
|
{
|
143
138
|
"anonymous": false,
|
144
139
|
"inputs": [
|
145
|
-
{
|
146
|
-
"indexed": false,
|
147
|
-
"internalType": "NftId",
|
148
|
-
"name": "instanceNftId",
|
149
|
-
"type": "uint96"
|
150
|
-
},
|
151
140
|
{
|
152
141
|
"indexed": false,
|
153
142
|
"internalType": "address",
|
154
|
-
"name": "
|
143
|
+
"name": "instance",
|
155
144
|
"type": "address"
|
156
145
|
}
|
157
146
|
],
|
@@ -173,23 +162,10 @@
|
|
173
162
|
},
|
174
163
|
{
|
175
164
|
"inputs": [],
|
176
|
-
"name": "
|
165
|
+
"name": "getInstance",
|
177
166
|
"outputs": [
|
178
167
|
{
|
179
|
-
"internalType": "
|
180
|
-
"name": "",
|
181
|
-
"type": "uint96"
|
182
|
-
}
|
183
|
-
],
|
184
|
-
"stateMutability": "view",
|
185
|
-
"type": "function"
|
186
|
-
},
|
187
|
-
{
|
188
|
-
"inputs": [],
|
189
|
-
"name": "getInstanceReader",
|
190
|
-
"outputs": [
|
191
|
-
{
|
192
|
-
"internalType": "contract InstanceReader",
|
168
|
+
"internalType": "contract IInstance",
|
193
169
|
"name": "",
|
194
170
|
"type": "address"
|
195
171
|
}
|
@@ -241,9 +217,9 @@
|
|
241
217
|
"type": "address"
|
242
218
|
},
|
243
219
|
{
|
244
|
-
"internalType": "
|
245
|
-
"name": "
|
246
|
-
"type": "
|
220
|
+
"internalType": "address",
|
221
|
+
"name": "instance",
|
222
|
+
"type": "address"
|
247
223
|
}
|
248
224
|
],
|
249
225
|
"name": "initialize",
|
@@ -278,8 +254,8 @@
|
|
278
254
|
"type": "function"
|
279
255
|
}
|
280
256
|
],
|
281
|
-
"bytecode": "
|
282
|
-
"deployedBytecode": "
|
257
|
+
"bytecode": "0x608060405234801561001057600080fd5b50600080546001600160a01b03191690556105f0806100306000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638fb360371161005b5780638fb36037146100d4578063bf7e214f146100f5578063c0c53b8b14610113578063de7b5d141461012657600080fd5b8063485cc955146100825780635ab1bd53146100975780637a9e5e4b146100c1575b600080fd5b610095610090366004610502565b610137565b005b6000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6100956100cf366004610535565b6102de565b6100dc61037c565b6040516001600160e01b031990911681526020016100b8565b60008051602061059b833981519152546001600160a01b03166100a4565b610095610121366004610557565b6103b5565b6003546001600160a01b03166100a4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff1660008115801561017d5750825b905060008267ffffffffffffffff16600114801561019a5750303b155b9050811580156101a8575080155b156101c65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156101f057845460ff60401b1916600160401b1785555b6101f987610415565b856001600160a01b03163b6000036102345760405163071669cf60e21b81526001600160a01b03871660048201526024015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0388811691821790925560408051928a16835260208301919091527fa6804c76412ae2d729353ed187a48b0b95177ee5c111049b80878fd127224412910160405180910390a183156102d557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b336102fe60008051602061059b833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146103395760405162d1953b60e31b81526001600160a01b038216600482015260240161022b565b816001600160a01b03163b60000361036f576040516361798f2f60e11b81526001600160a01b038316600482015260240161022b565b61037882610429565b5050565b60008051602061059b833981519152805460009190600160a01b900460ff166103a65760006103af565b638fb3603760e01b5b91505090565b6103bf8383610137565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527fe89455dcb69bf4efd41cbb10c8064808f360b87b03ae8c96349c71f4934ffa0f9060200160405180910390a1505050565b61041d61048a565b610426816104d5565b50565b60008051602061059b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166104d357604051631afcd79f60e31b815260040160405180910390fd5b565b6104dd61048a565b61042681610429565b80356001600160a01b03811681146104fd57600080fd5b919050565b6000806040838503121561051557600080fd5b61051e836104e6565b915061052c602084016104e6565b90509250929050565b60006020828403121561054757600080fd5b610550826104e6565b9392505050565b60008060006060848603121561056c57600080fd5b610575846104e6565b9250610583602085016104e6565b9150610591604085016104e6565b9050925092509256fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220f2186ab008ce48e77e816ca5b2bd0480012e768991d751d006dff1269d2d0b6d64736f6c63430008140033",
|
258
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80638fb360371161005b5780638fb36037146100d4578063bf7e214f146100f5578063c0c53b8b14610113578063de7b5d141461012657600080fd5b8063485cc955146100825780635ab1bd53146100975780637a9e5e4b146100c1575b600080fd5b610095610090366004610502565b610137565b005b6000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6100956100cf366004610535565b6102de565b6100dc61037c565b6040516001600160e01b031990911681526020016100b8565b60008051602061059b833981519152546001600160a01b03166100a4565b610095610121366004610557565b6103b5565b6003546001600160a01b03166100a4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff1660008115801561017d5750825b905060008267ffffffffffffffff16600114801561019a5750303b155b9050811580156101a8575080155b156101c65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156101f057845460ff60401b1916600160401b1785555b6101f987610415565b856001600160a01b03163b6000036102345760405163071669cf60e21b81526001600160a01b03871660048201526024015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0388811691821790925560408051928a16835260208301919091527fa6804c76412ae2d729353ed187a48b0b95177ee5c111049b80878fd127224412910160405180910390a183156102d557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b336102fe60008051602061059b833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146103395760405162d1953b60e31b81526001600160a01b038216600482015260240161022b565b816001600160a01b03163b60000361036f576040516361798f2f60e11b81526001600160a01b038316600482015260240161022b565b61037882610429565b5050565b60008051602061059b833981519152805460009190600160a01b900460ff166103a65760006103af565b638fb3603760e01b5b91505090565b6103bf8383610137565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527fe89455dcb69bf4efd41cbb10c8064808f360b87b03ae8c96349c71f4934ffa0f9060200160405180910390a1505050565b61041d61048a565b610426816104d5565b50565b60008051602061059b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166104d357604051631afcd79f60e31b815260040160405180910390fd5b565b6104dd61048a565b61042681610429565b80356001600160a01b03811681146104fd57600080fd5b919050565b6000806040838503121561051557600080fd5b61051e836104e6565b915061052c602084016104e6565b90509250929050565b60006020828403121561054757600080fd5b610550826104e6565b9392505050565b60008060006060848603121561056c57600080fd5b610575846104e6565b9250610583602085016104e6565b9150610591604085016104e6565b9050925092509256fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220f2186ab008ce48e77e816ca5b2bd0480012e768991d751d006dff1269d2d0b6d64736f6c63430008140033",
|
283
259
|
"linkReferences": {},
|
284
260
|
"deployedLinkReferences": {}
|
285
261
|
}
|
@@ -1,35 +1,8 @@
|
|
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
|
-
{
|
7
|
-
"inputs": [
|
8
|
-
{
|
9
|
-
"internalType": "ObjectType",
|
10
|
-
"name": "componentType",
|
11
|
-
"type": "uint8"
|
12
|
-
}
|
13
|
-
],
|
14
|
-
"name": "ComponentTypeInvalid",
|
15
|
-
"type": "error"
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"inputs": [
|
19
|
-
{
|
20
|
-
"internalType": "address",
|
21
|
-
"name": "registry",
|
22
|
-
"type": "address"
|
23
|
-
},
|
24
|
-
{
|
25
|
-
"internalType": "NftId",
|
26
|
-
"name": "nftId",
|
27
|
-
"type": "uint96"
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"name": "ErrorAlreadyLinked",
|
31
|
-
"type": "error"
|
32
|
-
},
|
33
6
|
{
|
34
7
|
"inputs": [
|
35
8
|
{
|
@@ -50,11 +23,11 @@
|
|
50
23
|
"inputs": [
|
51
24
|
{
|
52
25
|
"internalType": "address",
|
53
|
-
"name": "
|
26
|
+
"name": "component",
|
54
27
|
"type": "address"
|
55
28
|
}
|
56
29
|
],
|
57
|
-
"name": "
|
30
|
+
"name": "ErrorComponentServiceComponentLocked",
|
58
31
|
"type": "error"
|
59
32
|
},
|
60
33
|
{
|
@@ -135,81 +108,60 @@
|
|
135
108
|
"inputs": [
|
136
109
|
{
|
137
110
|
"internalType": "address",
|
138
|
-
"name": "
|
139
|
-
"type": "address"
|
140
|
-
}
|
141
|
-
],
|
142
|
-
"name": "ErrorContractNotRegistered",
|
143
|
-
"type": "error"
|
144
|
-
},
|
145
|
-
{
|
146
|
-
"inputs": [
|
147
|
-
{
|
148
|
-
"internalType": "address",
|
149
|
-
"name": "account",
|
111
|
+
"name": "caller",
|
150
112
|
"type": "address"
|
151
113
|
}
|
152
114
|
],
|
153
|
-
"name": "
|
115
|
+
"name": "ErrorIServiceCallerUnknown",
|
154
116
|
"type": "error"
|
155
117
|
},
|
156
118
|
{
|
157
119
|
"inputs": [
|
158
120
|
{
|
159
|
-
"internalType": "
|
160
|
-
"name": "
|
161
|
-
"type": "
|
121
|
+
"internalType": "NftId",
|
122
|
+
"name": "nftId",
|
123
|
+
"type": "uint96"
|
162
124
|
}
|
163
125
|
],
|
164
|
-
"name": "
|
126
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
165
127
|
"type": "error"
|
166
128
|
},
|
167
129
|
{
|
168
130
|
"inputs": [
|
169
131
|
{
|
170
132
|
"internalType": "address",
|
171
|
-
"name": "
|
133
|
+
"name": "contractAddress",
|
172
134
|
"type": "address"
|
173
135
|
}
|
174
136
|
],
|
175
|
-
"name": "
|
137
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
176
138
|
"type": "error"
|
177
139
|
},
|
178
140
|
{
|
179
141
|
"inputs": [],
|
180
|
-
"name": "
|
142
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
181
143
|
"type": "error"
|
182
144
|
},
|
183
145
|
{
|
184
146
|
"inputs": [
|
185
147
|
{
|
186
148
|
"internalType": "address",
|
187
|
-
"name": "
|
149
|
+
"name": "account",
|
188
150
|
"type": "address"
|
189
151
|
}
|
190
152
|
],
|
191
|
-
"name": "
|
192
|
-
"type": "error"
|
193
|
-
},
|
194
|
-
{
|
195
|
-
"inputs": [],
|
196
|
-
"name": "ErrorRegistryNotInitialized",
|
153
|
+
"name": "ErrorNftOwnableNotOwner",
|
197
154
|
"type": "error"
|
198
155
|
},
|
199
156
|
{
|
200
157
|
"inputs": [
|
201
|
-
{
|
202
|
-
"internalType": "RoleId",
|
203
|
-
"name": "expected",
|
204
|
-
"type": "uint64"
|
205
|
-
},
|
206
158
|
{
|
207
159
|
"internalType": "address",
|
208
|
-
"name": "
|
160
|
+
"name": "registryAddress",
|
209
161
|
"type": "address"
|
210
162
|
}
|
211
163
|
],
|
212
|
-
"name": "
|
164
|
+
"name": "ErrorNotRegistry",
|
213
165
|
"type": "error"
|
214
166
|
},
|
215
167
|
{
|
@@ -236,29 +188,17 @@
|
|
236
188
|
"type": "event"
|
237
189
|
},
|
238
190
|
{
|
239
|
-
"
|
240
|
-
"
|
241
|
-
|
242
|
-
"indexed": false,
|
243
|
-
"internalType": "Version",
|
244
|
-
"name": "version",
|
245
|
-
"type": "uint24"
|
246
|
-
},
|
247
|
-
{
|
248
|
-
"indexed": false,
|
249
|
-
"internalType": "address",
|
250
|
-
"name": "implementation",
|
251
|
-
"type": "address"
|
252
|
-
},
|
191
|
+
"inputs": [],
|
192
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
193
|
+
"outputs": [
|
253
194
|
{
|
254
|
-
"
|
255
|
-
"
|
256
|
-
"
|
257
|
-
"type": "address"
|
195
|
+
"internalType": "bytes32",
|
196
|
+
"name": "",
|
197
|
+
"type": "bytes32"
|
258
198
|
}
|
259
199
|
],
|
260
|
-
"
|
261
|
-
"type": "
|
200
|
+
"stateMutability": "view",
|
201
|
+
"type": "function"
|
262
202
|
},
|
263
203
|
{
|
264
204
|
"inputs": [],
|
@@ -329,26 +269,8 @@
|
|
329
269
|
}
|
330
270
|
],
|
331
271
|
"internalType": "struct IRegistry.ObjectInfo",
|
332
|
-
"name": "",
|
272
|
+
"name": "info",
|
333
273
|
"type": "tuple"
|
334
|
-
},
|
335
|
-
{
|
336
|
-
"internalType": "bytes",
|
337
|
-
"name": "data",
|
338
|
-
"type": "bytes"
|
339
|
-
}
|
340
|
-
],
|
341
|
-
"stateMutability": "view",
|
342
|
-
"type": "function"
|
343
|
-
},
|
344
|
-
{
|
345
|
-
"inputs": [],
|
346
|
-
"name": "getInitializedVersion",
|
347
|
-
"outputs": [
|
348
|
-
{
|
349
|
-
"internalType": "uint64",
|
350
|
-
"name": "",
|
351
|
-
"type": "uint64"
|
352
274
|
}
|
353
275
|
],
|
354
276
|
"stateMutability": "view",
|
@@ -421,10 +343,10 @@
|
|
421
343
|
},
|
422
344
|
{
|
423
345
|
"inputs": [],
|
424
|
-
"name": "
|
346
|
+
"name": "getRegistryAddress",
|
425
347
|
"outputs": [
|
426
348
|
{
|
427
|
-
"internalType": "
|
349
|
+
"internalType": "address",
|
428
350
|
"name": "",
|
429
351
|
"type": "address"
|
430
352
|
}
|
@@ -434,25 +356,19 @@
|
|
434
356
|
},
|
435
357
|
{
|
436
358
|
"inputs": [],
|
437
|
-
"name": "
|
359
|
+
"name": "getRegistryService",
|
438
360
|
"outputs": [
|
439
361
|
{
|
440
|
-
"internalType": "
|
362
|
+
"internalType": "contract IRegistryService",
|
441
363
|
"name": "",
|
442
|
-
"type": "
|
364
|
+
"type": "address"
|
443
365
|
}
|
444
366
|
],
|
445
|
-
"stateMutability": "
|
367
|
+
"stateMutability": "view",
|
446
368
|
"type": "function"
|
447
369
|
},
|
448
370
|
{
|
449
|
-
"inputs": [
|
450
|
-
{
|
451
|
-
"internalType": "uint256",
|
452
|
-
"name": "idx",
|
453
|
-
"type": "uint256"
|
454
|
-
}
|
455
|
-
],
|
371
|
+
"inputs": [],
|
456
372
|
"name": "getVersion",
|
457
373
|
"outputs": [
|
458
374
|
{
|
@@ -461,87 +377,68 @@
|
|
461
377
|
"type": "uint24"
|
462
378
|
}
|
463
379
|
],
|
464
|
-
"stateMutability": "
|
380
|
+
"stateMutability": "pure",
|
465
381
|
"type": "function"
|
466
382
|
},
|
467
383
|
{
|
468
384
|
"inputs": [],
|
469
|
-
"name": "
|
470
|
-
"outputs": [
|
471
|
-
|
472
|
-
"internalType": "uint256",
|
473
|
-
"name": "",
|
474
|
-
"type": "uint256"
|
475
|
-
}
|
476
|
-
],
|
477
|
-
"stateMutability": "view",
|
385
|
+
"name": "initializeERC165",
|
386
|
+
"outputs": [],
|
387
|
+
"stateMutability": "nonpayable",
|
478
388
|
"type": "function"
|
479
389
|
},
|
480
390
|
{
|
481
391
|
"inputs": [
|
482
392
|
{
|
483
|
-
"internalType": "
|
484
|
-
"name": "
|
485
|
-
"type": "
|
486
|
-
}
|
487
|
-
],
|
488
|
-
"name": "getVersionInfo",
|
489
|
-
"outputs": [
|
393
|
+
"internalType": "address",
|
394
|
+
"name": "initialOwner",
|
395
|
+
"type": "address"
|
396
|
+
},
|
490
397
|
{
|
491
|
-
"
|
492
|
-
|
493
|
-
|
494
|
-
"name": "version",
|
495
|
-
"type": "uint24"
|
496
|
-
},
|
497
|
-
{
|
498
|
-
"internalType": "address",
|
499
|
-
"name": "implementation",
|
500
|
-
"type": "address"
|
501
|
-
},
|
502
|
-
{
|
503
|
-
"internalType": "address",
|
504
|
-
"name": "activatedBy",
|
505
|
-
"type": "address"
|
506
|
-
},
|
507
|
-
{
|
508
|
-
"internalType": "Timestamp",
|
509
|
-
"name": "activatedAt",
|
510
|
-
"type": "uint40"
|
511
|
-
},
|
512
|
-
{
|
513
|
-
"internalType": "Blocknumber",
|
514
|
-
"name": "activatedIn",
|
515
|
-
"type": "uint32"
|
516
|
-
}
|
517
|
-
],
|
518
|
-
"internalType": "struct IVersionable.VersionInfo",
|
519
|
-
"name": "",
|
520
|
-
"type": "tuple"
|
398
|
+
"internalType": "address",
|
399
|
+
"name": "registryAddress",
|
400
|
+
"type": "address"
|
521
401
|
}
|
522
402
|
],
|
523
|
-
"
|
403
|
+
"name": "initializeNftOwnable",
|
404
|
+
"outputs": [],
|
405
|
+
"stateMutability": "nonpayable",
|
524
406
|
"type": "function"
|
525
407
|
},
|
526
408
|
{
|
527
409
|
"inputs": [
|
528
410
|
{
|
529
411
|
"internalType": "address",
|
530
|
-
"name": "
|
412
|
+
"name": "registryAddress",
|
531
413
|
"type": "address"
|
532
414
|
},
|
415
|
+
{
|
416
|
+
"internalType": "NftId",
|
417
|
+
"name": "parentNftId",
|
418
|
+
"type": "uint96"
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"internalType": "ObjectType",
|
422
|
+
"name": "objectType",
|
423
|
+
"type": "uint8"
|
424
|
+
},
|
425
|
+
{
|
426
|
+
"internalType": "bool",
|
427
|
+
"name": "isInterceptor",
|
428
|
+
"type": "bool"
|
429
|
+
},
|
533
430
|
{
|
534
431
|
"internalType": "address",
|
535
|
-
"name": "
|
432
|
+
"name": "initialOwner",
|
536
433
|
"type": "address"
|
537
434
|
},
|
538
435
|
{
|
539
436
|
"internalType": "bytes",
|
540
|
-
"name": "
|
437
|
+
"name": "registryData",
|
541
438
|
"type": "bytes"
|
542
439
|
}
|
543
440
|
],
|
544
|
-
"name": "
|
441
|
+
"name": "initializeRegisterable",
|
545
442
|
"outputs": [],
|
546
443
|
"stateMutability": "nonpayable",
|
547
444
|
"type": "function"
|
@@ -549,20 +446,50 @@
|
|
549
446
|
{
|
550
447
|
"inputs": [
|
551
448
|
{
|
552
|
-
"internalType": "
|
553
|
-
"name": "
|
554
|
-
"type": "
|
449
|
+
"internalType": "address",
|
450
|
+
"name": "registryAddress",
|
451
|
+
"type": "address"
|
555
452
|
}
|
556
453
|
],
|
557
|
-
"name": "
|
558
|
-
"outputs": [
|
454
|
+
"name": "initializeRegistryLinked",
|
455
|
+
"outputs": [],
|
456
|
+
"stateMutability": "nonpayable",
|
457
|
+
"type": "function"
|
458
|
+
},
|
459
|
+
{
|
460
|
+
"inputs": [
|
559
461
|
{
|
560
|
-
"internalType": "
|
561
|
-
"name": "",
|
562
|
-
"type": "
|
462
|
+
"internalType": "address",
|
463
|
+
"name": "registry",
|
464
|
+
"type": "address"
|
465
|
+
},
|
466
|
+
{
|
467
|
+
"internalType": "address",
|
468
|
+
"name": "initialOwner",
|
469
|
+
"type": "address"
|
563
470
|
}
|
564
471
|
],
|
565
|
-
"
|
472
|
+
"name": "initializeService",
|
473
|
+
"outputs": [],
|
474
|
+
"stateMutability": "nonpayable",
|
475
|
+
"type": "function"
|
476
|
+
},
|
477
|
+
{
|
478
|
+
"inputs": [
|
479
|
+
{
|
480
|
+
"internalType": "address",
|
481
|
+
"name": "activatedBy",
|
482
|
+
"type": "address"
|
483
|
+
},
|
484
|
+
{
|
485
|
+
"internalType": "bytes",
|
486
|
+
"name": "data",
|
487
|
+
"type": "bytes"
|
488
|
+
}
|
489
|
+
],
|
490
|
+
"name": "initializeVersionable",
|
491
|
+
"outputs": [],
|
492
|
+
"stateMutability": "nonpayable",
|
566
493
|
"type": "function"
|
567
494
|
},
|
568
495
|
{
|
@@ -572,6 +499,19 @@
|
|
572
499
|
"stateMutability": "nonpayable",
|
573
500
|
"type": "function"
|
574
501
|
},
|
502
|
+
{
|
503
|
+
"inputs": [
|
504
|
+
{
|
505
|
+
"internalType": "bytes4",
|
506
|
+
"name": "interfaceId",
|
507
|
+
"type": "bytes4"
|
508
|
+
}
|
509
|
+
],
|
510
|
+
"name": "registerInterface",
|
511
|
+
"outputs": [],
|
512
|
+
"stateMutability": "nonpayable",
|
513
|
+
"type": "function"
|
514
|
+
},
|
575
515
|
{
|
576
516
|
"inputs": [
|
577
517
|
{
|
@@ -593,23 +533,13 @@
|
|
593
533
|
},
|
594
534
|
{
|
595
535
|
"inputs": [
|
596
|
-
{
|
597
|
-
"internalType": "address",
|
598
|
-
"name": "implementation",
|
599
|
-
"type": "address"
|
600
|
-
},
|
601
|
-
{
|
602
|
-
"internalType": "address",
|
603
|
-
"name": "activatedBy",
|
604
|
-
"type": "address"
|
605
|
-
},
|
606
536
|
{
|
607
537
|
"internalType": "bytes",
|
608
538
|
"name": "data",
|
609
539
|
"type": "bytes"
|
610
540
|
}
|
611
541
|
],
|
612
|
-
"name": "
|
542
|
+
"name": "upgradeVersionable",
|
613
543
|
"outputs": [],
|
614
544
|
"stateMutability": "nonpayable",
|
615
545
|
"type": "function"
|