@etherisc/gif-next 0.0.2-e1f23dc-329 → 0.0.2-e26c262-698
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 +832 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +931 -230
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → components/IComponent.sol/IComponent.json} +211 -172
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +743 -26
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +755 -50
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +582 -9
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +817 -243
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +628 -190
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1058 -366
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +252 -165
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +929 -1212
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +571 -177
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +126 -254
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +412 -310
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +302 -109
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -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} +189 -177
- 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 +40 -10
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +69 -43
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
- 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 +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1093 -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 +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1229 -213
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +440 -79
- 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 +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +630 -0
- 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 +727 -160
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +540 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +84 -304
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +39 -394
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1021 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +278 -380
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +298 -89
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +211 -528
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +292 -115
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +244 -133
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +158 -215
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +257 -235
- 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 +202 -318
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +298 -145
- 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 +141 -53
- 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 +31 -183
- 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 +127 -170
- 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 +2 -2
- 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 +6 -6
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +148 -227
- 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/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/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- 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 +2 -2
- 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 +17 -4
- 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 +23 -4
- 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/StateId.sol/StateIdLib.json +2 -2
- 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/MathLib.json +2 -2
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
- 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 +2 -2
- package/contracts/components/Component.sol +251 -0
- package/contracts/components/Distribution.sol +200 -79
- package/contracts/components/IComponent.sol +74 -0
- package/contracts/components/IDistributionComponent.sol +44 -17
- package/contracts/components/IPoolComponent.sol +88 -37
- package/contracts/components/IProductComponent.sol +10 -5
- package/contracts/components/Pool.sol +215 -158
- package/contracts/components/Product.sol +125 -116
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/instance/BundleManager.sol +127 -0
- package/contracts/instance/Cloneable.sol +51 -0
- package/contracts/instance/IInstance.sol +58 -14
- package/contracts/instance/IInstanceService.sol +47 -5
- package/contracts/instance/Instance.sol +144 -260
- package/contracts/instance/InstanceAccessManager.sol +410 -176
- package/contracts/instance/InstanceReader.sol +9 -34
- package/contracts/instance/InstanceService.sol +418 -121
- package/contracts/instance/InstanceServiceManager.sol +6 -9
- package/contracts/instance/ObjectManager.sol +82 -0
- package/contracts/instance/base/ComponentService.sol +134 -0
- package/contracts/instance/base/KeyValueStore.sol +5 -2
- package/contracts/instance/base/Lifecycle.sol +11 -2
- package/contracts/instance/module/IAccess.sol +36 -20
- package/contracts/instance/module/IBundle.sol +2 -1
- package/contracts/instance/module/IComponents.sol +35 -0
- package/contracts/instance/module/IDistribution.sol +2 -0
- package/contracts/instance/module/IPolicy.sol +30 -3
- package/contracts/instance/module/ISetup.sol +9 -20
- package/contracts/instance/service/ApplicationService.sol +350 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +336 -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 +408 -29
- package/contracts/instance/service/DistributionServiceManager.sol +7 -10
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +62 -0
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +86 -0
- package/contracts/instance/service/IPolicyService.sol +72 -0
- package/contracts/instance/service/IPoolService.sol +20 -26
- package/contracts/instance/service/IProductService.sol +3 -70
- package/contracts/instance/service/PolicyService.sol +403 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +150 -131
- package/contracts/instance/service/PoolServiceManager.sol +6 -9
- package/contracts/instance/service/ProductService.sol +131 -454
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/ChainNft.sol +9 -1
- package/contracts/registry/IRegistry.sol +39 -19
- package/contracts/registry/IRegistryService.sol +30 -13
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +243 -224
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +96 -171
- package/contracts/registry/RegistryServiceManager.sol +21 -39
- package/contracts/registry/ReleaseManager.sol +322 -0
- package/contracts/registry/TokenRegistry.sol +22 -17
- 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 -6
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +4 -1
- 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 +25 -22
- package/contracts/shared/TokenHandler.sol +11 -5
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +4 -3
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/Fee.sol +1 -0
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/ObjectType.sol +10 -5
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +26 -19
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +1 -0
- package/contracts/types/Timestamp.sol +13 -13
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +1 -0
- 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/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/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/experiment/cloning/Cloner.sol +0 -47
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/AccessManagedSimple.sol +0 -115
- package/contracts/instance/AccessManagerSimple.sol +0 -692
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/base/ComponentServiceBase.sol +0 -134
- 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
@@ -1,114 +1,167 @@
|
|
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": "component",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "NftId",
|
15
|
+
"name": "nftId",
|
16
|
+
"type": "uint96"
|
12
17
|
}
|
13
18
|
],
|
14
|
-
"name": "
|
19
|
+
"name": "ErrorComponentServiceAlreadyRegistered",
|
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
|
+
}
|
29
|
+
],
|
30
|
+
"name": "ErrorComponentServiceComponentLocked",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
24
35
|
{
|
25
36
|
"internalType": "NftId",
|
26
|
-
"name": "
|
37
|
+
"name": "instanceNftId",
|
27
38
|
"type": "uint96"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"internalType": "RoleId",
|
42
|
+
"name": "requiredRole",
|
43
|
+
"type": "uint64"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"internalType": "address",
|
47
|
+
"name": "sender",
|
48
|
+
"type": "address"
|
28
49
|
}
|
29
50
|
],
|
30
|
-
"name": "
|
51
|
+
"name": "ErrorComponentServiceExpectedRoleMissing",
|
31
52
|
"type": "error"
|
32
53
|
},
|
33
54
|
{
|
34
55
|
"inputs": [
|
35
56
|
{
|
36
57
|
"internalType": "address",
|
37
|
-
"name": "
|
58
|
+
"name": "component",
|
38
59
|
"type": "address"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"internalType": "ObjectType",
|
63
|
+
"name": "requiredType",
|
64
|
+
"type": "uint8"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"internalType": "ObjectType",
|
68
|
+
"name": "componentType",
|
69
|
+
"type": "uint8"
|
39
70
|
}
|
40
71
|
],
|
41
|
-
"name": "
|
72
|
+
"name": "ErrorComponentServiceInvalidType",
|
42
73
|
"type": "error"
|
43
74
|
},
|
44
75
|
{
|
45
76
|
"inputs": [
|
46
77
|
{
|
47
78
|
"internalType": "address",
|
48
|
-
"name": "
|
79
|
+
"name": "component",
|
49
80
|
"type": "address"
|
50
81
|
}
|
51
82
|
],
|
52
|
-
"name": "
|
83
|
+
"name": "ErrorComponentServiceNotComponent",
|
53
84
|
"type": "error"
|
54
85
|
},
|
55
86
|
{
|
56
87
|
"inputs": [
|
57
88
|
{
|
58
89
|
"internalType": "address",
|
59
|
-
"name": "
|
90
|
+
"name": "component",
|
91
|
+
"type": "address"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"internalType": "address",
|
95
|
+
"name": "initialOwner",
|
96
|
+
"type": "address"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"internalType": "address",
|
100
|
+
"name": "sender",
|
60
101
|
"type": "address"
|
61
102
|
}
|
62
103
|
],
|
63
|
-
"name": "
|
104
|
+
"name": "ErrorComponentServiceSenderNotOwner",
|
64
105
|
"type": "error"
|
65
106
|
},
|
66
107
|
{
|
67
108
|
"inputs": [
|
68
109
|
{
|
69
110
|
"internalType": "address",
|
70
|
-
"name": "
|
111
|
+
"name": "caller",
|
71
112
|
"type": "address"
|
72
113
|
}
|
73
114
|
],
|
74
|
-
"name": "
|
115
|
+
"name": "ErrorIServiceCallerUnknown",
|
75
116
|
"type": "error"
|
76
117
|
},
|
77
118
|
{
|
78
|
-
"inputs": [
|
79
|
-
|
119
|
+
"inputs": [
|
120
|
+
{
|
121
|
+
"internalType": "NftId",
|
122
|
+
"name": "nftId",
|
123
|
+
"type": "uint96"
|
124
|
+
}
|
125
|
+
],
|
126
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
80
127
|
"type": "error"
|
81
128
|
},
|
82
129
|
{
|
83
130
|
"inputs": [
|
84
131
|
{
|
85
132
|
"internalType": "address",
|
86
|
-
"name": "
|
133
|
+
"name": "contractAddress",
|
87
134
|
"type": "address"
|
88
135
|
}
|
89
136
|
],
|
90
|
-
"name": "
|
137
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
91
138
|
"type": "error"
|
92
139
|
},
|
93
140
|
{
|
94
141
|
"inputs": [],
|
95
|
-
"name": "
|
142
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
96
143
|
"type": "error"
|
97
144
|
},
|
98
145
|
{
|
99
146
|
"inputs": [
|
100
147
|
{
|
101
|
-
"internalType": "
|
102
|
-
"name": "
|
103
|
-
"type": "
|
104
|
-
}
|
148
|
+
"internalType": "address",
|
149
|
+
"name": "account",
|
150
|
+
"type": "address"
|
151
|
+
}
|
152
|
+
],
|
153
|
+
"name": "ErrorNftOwnableNotOwner",
|
154
|
+
"type": "error"
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"inputs": [
|
105
158
|
{
|
106
159
|
"internalType": "address",
|
107
|
-
"name": "
|
160
|
+
"name": "registryAddress",
|
108
161
|
"type": "address"
|
109
162
|
}
|
110
163
|
],
|
111
|
-
"name": "
|
164
|
+
"name": "ErrorNotRegistry",
|
112
165
|
"type": "error"
|
113
166
|
},
|
114
167
|
{
|
@@ -135,29 +188,17 @@
|
|
135
188
|
"type": "event"
|
136
189
|
},
|
137
190
|
{
|
138
|
-
"
|
139
|
-
"
|
140
|
-
|
141
|
-
"indexed": false,
|
142
|
-
"internalType": "Version",
|
143
|
-
"name": "version",
|
144
|
-
"type": "uint24"
|
145
|
-
},
|
146
|
-
{
|
147
|
-
"indexed": false,
|
148
|
-
"internalType": "address",
|
149
|
-
"name": "implementation",
|
150
|
-
"type": "address"
|
151
|
-
},
|
191
|
+
"inputs": [],
|
192
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
193
|
+
"outputs": [
|
152
194
|
{
|
153
|
-
"
|
154
|
-
"
|
155
|
-
"
|
156
|
-
"type": "address"
|
195
|
+
"internalType": "bytes32",
|
196
|
+
"name": "",
|
197
|
+
"type": "bytes32"
|
157
198
|
}
|
158
199
|
],
|
159
|
-
"
|
160
|
-
"type": "
|
200
|
+
"stateMutability": "view",
|
201
|
+
"type": "function"
|
161
202
|
},
|
162
203
|
{
|
163
204
|
"inputs": [],
|
@@ -172,6 +213,19 @@
|
|
172
213
|
"stateMutability": "view",
|
173
214
|
"type": "function"
|
174
215
|
},
|
216
|
+
{
|
217
|
+
"inputs": [],
|
218
|
+
"name": "getDomain",
|
219
|
+
"outputs": [
|
220
|
+
{
|
221
|
+
"internalType": "ObjectType",
|
222
|
+
"name": "",
|
223
|
+
"type": "uint8"
|
224
|
+
}
|
225
|
+
],
|
226
|
+
"stateMutability": "pure",
|
227
|
+
"type": "function"
|
228
|
+
},
|
175
229
|
{
|
176
230
|
"inputs": [],
|
177
231
|
"name": "getInitialInfo",
|
@@ -215,26 +269,8 @@
|
|
215
269
|
}
|
216
270
|
],
|
217
271
|
"internalType": "struct IRegistry.ObjectInfo",
|
218
|
-
"name": "",
|
272
|
+
"name": "info",
|
219
273
|
"type": "tuple"
|
220
|
-
},
|
221
|
-
{
|
222
|
-
"internalType": "bytes",
|
223
|
-
"name": "data",
|
224
|
-
"type": "bytes"
|
225
|
-
}
|
226
|
-
],
|
227
|
-
"stateMutability": "view",
|
228
|
-
"type": "function"
|
229
|
-
},
|
230
|
-
{
|
231
|
-
"inputs": [],
|
232
|
-
"name": "getInitializedVersion",
|
233
|
-
"outputs": [
|
234
|
-
{
|
235
|
-
"internalType": "uint64",
|
236
|
-
"name": "",
|
237
|
-
"type": "uint64"
|
238
274
|
}
|
239
275
|
],
|
240
276
|
"stateMutability": "view",
|
@@ -266,19 +302,6 @@
|
|
266
302
|
"stateMutability": "view",
|
267
303
|
"type": "function"
|
268
304
|
},
|
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
305
|
{
|
283
306
|
"inputs": [],
|
284
307
|
"name": "getNftId",
|
@@ -320,10 +343,10 @@
|
|
320
343
|
},
|
321
344
|
{
|
322
345
|
"inputs": [],
|
323
|
-
"name": "
|
346
|
+
"name": "getRegistryAddress",
|
324
347
|
"outputs": [
|
325
348
|
{
|
326
|
-
"internalType": "
|
349
|
+
"internalType": "address",
|
327
350
|
"name": "",
|
328
351
|
"type": "address"
|
329
352
|
}
|
@@ -333,25 +356,19 @@
|
|
333
356
|
},
|
334
357
|
{
|
335
358
|
"inputs": [],
|
336
|
-
"name": "
|
359
|
+
"name": "getRegistryService",
|
337
360
|
"outputs": [
|
338
361
|
{
|
339
|
-
"internalType": "
|
362
|
+
"internalType": "contract IRegistryService",
|
340
363
|
"name": "",
|
341
|
-
"type": "
|
364
|
+
"type": "address"
|
342
365
|
}
|
343
366
|
],
|
344
|
-
"stateMutability": "
|
367
|
+
"stateMutability": "view",
|
345
368
|
"type": "function"
|
346
369
|
},
|
347
370
|
{
|
348
|
-
"inputs": [
|
349
|
-
{
|
350
|
-
"internalType": "uint256",
|
351
|
-
"name": "idx",
|
352
|
-
"type": "uint256"
|
353
|
-
}
|
354
|
-
],
|
371
|
+
"inputs": [],
|
355
372
|
"name": "getVersion",
|
356
373
|
"outputs": [
|
357
374
|
{
|
@@ -360,87 +377,68 @@
|
|
360
377
|
"type": "uint24"
|
361
378
|
}
|
362
379
|
],
|
363
|
-
"stateMutability": "
|
380
|
+
"stateMutability": "pure",
|
364
381
|
"type": "function"
|
365
382
|
},
|
366
383
|
{
|
367
384
|
"inputs": [],
|
368
|
-
"name": "
|
369
|
-
"outputs": [
|
370
|
-
|
371
|
-
"internalType": "uint256",
|
372
|
-
"name": "",
|
373
|
-
"type": "uint256"
|
374
|
-
}
|
375
|
-
],
|
376
|
-
"stateMutability": "view",
|
385
|
+
"name": "initializeERC165",
|
386
|
+
"outputs": [],
|
387
|
+
"stateMutability": "nonpayable",
|
377
388
|
"type": "function"
|
378
389
|
},
|
379
390
|
{
|
380
391
|
"inputs": [
|
381
392
|
{
|
382
|
-
"internalType": "
|
383
|
-
"name": "
|
384
|
-
"type": "
|
385
|
-
}
|
386
|
-
],
|
387
|
-
"name": "getVersionInfo",
|
388
|
-
"outputs": [
|
393
|
+
"internalType": "address",
|
394
|
+
"name": "initialOwner",
|
395
|
+
"type": "address"
|
396
|
+
},
|
389
397
|
{
|
390
|
-
"
|
391
|
-
|
392
|
-
|
393
|
-
"name": "version",
|
394
|
-
"type": "uint24"
|
395
|
-
},
|
396
|
-
{
|
397
|
-
"internalType": "address",
|
398
|
-
"name": "implementation",
|
399
|
-
"type": "address"
|
400
|
-
},
|
401
|
-
{
|
402
|
-
"internalType": "address",
|
403
|
-
"name": "activatedBy",
|
404
|
-
"type": "address"
|
405
|
-
},
|
406
|
-
{
|
407
|
-
"internalType": "Timestamp",
|
408
|
-
"name": "activatedAt",
|
409
|
-
"type": "uint40"
|
410
|
-
},
|
411
|
-
{
|
412
|
-
"internalType": "Blocknumber",
|
413
|
-
"name": "activatedIn",
|
414
|
-
"type": "uint32"
|
415
|
-
}
|
416
|
-
],
|
417
|
-
"internalType": "struct IVersionable.VersionInfo",
|
418
|
-
"name": "",
|
419
|
-
"type": "tuple"
|
398
|
+
"internalType": "address",
|
399
|
+
"name": "registryAddress",
|
400
|
+
"type": "address"
|
420
401
|
}
|
421
402
|
],
|
422
|
-
"
|
403
|
+
"name": "initializeNftOwnable",
|
404
|
+
"outputs": [],
|
405
|
+
"stateMutability": "nonpayable",
|
423
406
|
"type": "function"
|
424
407
|
},
|
425
408
|
{
|
426
409
|
"inputs": [
|
427
410
|
{
|
428
411
|
"internalType": "address",
|
429
|
-
"name": "
|
412
|
+
"name": "registryAddress",
|
430
413
|
"type": "address"
|
431
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
|
+
},
|
432
430
|
{
|
433
431
|
"internalType": "address",
|
434
|
-
"name": "
|
432
|
+
"name": "initialOwner",
|
435
433
|
"type": "address"
|
436
434
|
},
|
437
435
|
{
|
438
436
|
"internalType": "bytes",
|
439
|
-
"name": "
|
437
|
+
"name": "registryData",
|
440
438
|
"type": "bytes"
|
441
439
|
}
|
442
440
|
],
|
443
|
-
"name": "
|
441
|
+
"name": "initializeRegisterable",
|
444
442
|
"outputs": [],
|
445
443
|
"stateMutability": "nonpayable",
|
446
444
|
"type": "function"
|
@@ -448,25 +446,30 @@
|
|
448
446
|
{
|
449
447
|
"inputs": [
|
450
448
|
{
|
451
|
-
"internalType": "
|
452
|
-
"name": "
|
453
|
-
"type": "
|
454
|
-
}
|
455
|
-
],
|
456
|
-
"name": "isInitialized",
|
457
|
-
"outputs": [
|
458
|
-
{
|
459
|
-
"internalType": "bool",
|
460
|
-
"name": "",
|
461
|
-
"type": "bool"
|
449
|
+
"internalType": "address",
|
450
|
+
"name": "registryAddress",
|
451
|
+
"type": "address"
|
462
452
|
}
|
463
453
|
],
|
464
|
-
"
|
454
|
+
"name": "initializeRegistryLinked",
|
455
|
+
"outputs": [],
|
456
|
+
"stateMutability": "nonpayable",
|
465
457
|
"type": "function"
|
466
458
|
},
|
467
459
|
{
|
468
|
-
"inputs": [
|
469
|
-
|
460
|
+
"inputs": [
|
461
|
+
{
|
462
|
+
"internalType": "address",
|
463
|
+
"name": "registry",
|
464
|
+
"type": "address"
|
465
|
+
},
|
466
|
+
{
|
467
|
+
"internalType": "address",
|
468
|
+
"name": "initialOwner",
|
469
|
+
"type": "address"
|
470
|
+
}
|
471
|
+
],
|
472
|
+
"name": "initializeService",
|
470
473
|
"outputs": [],
|
471
474
|
"stateMutability": "nonpayable",
|
472
475
|
"type": "function"
|
@@ -475,18 +478,37 @@
|
|
475
478
|
"inputs": [
|
476
479
|
{
|
477
480
|
"internalType": "address",
|
478
|
-
"name": "
|
481
|
+
"name": "activatedBy",
|
479
482
|
"type": "address"
|
483
|
+
},
|
484
|
+
{
|
485
|
+
"internalType": "bytes",
|
486
|
+
"name": "data",
|
487
|
+
"type": "bytes"
|
480
488
|
}
|
481
489
|
],
|
482
|
-
"name": "
|
483
|
-
"outputs": [
|
490
|
+
"name": "initializeVersionable",
|
491
|
+
"outputs": [],
|
492
|
+
"stateMutability": "nonpayable",
|
493
|
+
"type": "function"
|
494
|
+
},
|
495
|
+
{
|
496
|
+
"inputs": [],
|
497
|
+
"name": "linkToRegisteredNftId",
|
498
|
+
"outputs": [],
|
499
|
+
"stateMutability": "nonpayable",
|
500
|
+
"type": "function"
|
501
|
+
},
|
502
|
+
{
|
503
|
+
"inputs": [
|
484
504
|
{
|
485
|
-
"internalType": "
|
486
|
-
"name": "
|
487
|
-
"type": "
|
505
|
+
"internalType": "bytes4",
|
506
|
+
"name": "interfaceId",
|
507
|
+
"type": "bytes4"
|
488
508
|
}
|
489
509
|
],
|
510
|
+
"name": "registerInterface",
|
511
|
+
"outputs": [],
|
490
512
|
"stateMutability": "nonpayable",
|
491
513
|
"type": "function"
|
492
514
|
},
|
@@ -511,23 +533,13 @@
|
|
511
533
|
},
|
512
534
|
{
|
513
535
|
"inputs": [
|
514
|
-
{
|
515
|
-
"internalType": "address",
|
516
|
-
"name": "implementation",
|
517
|
-
"type": "address"
|
518
|
-
},
|
519
|
-
{
|
520
|
-
"internalType": "address",
|
521
|
-
"name": "activatedBy",
|
522
|
-
"type": "address"
|
523
|
-
},
|
524
536
|
{
|
525
537
|
"internalType": "bytes",
|
526
538
|
"name": "data",
|
527
539
|
"type": "bytes"
|
528
540
|
}
|
529
541
|
],
|
530
|
-
"name": "
|
542
|
+
"name": "upgradeVersionable",
|
531
543
|
"outputs": [],
|
532
544
|
"stateMutability": "nonpayable",
|
533
545
|
"type": "function"
|