@etherisc/gif-next 0.0.2-a6f9f86-582 → 0.0.2-a7954cc-097
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +171 -2
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
- package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/BaseComponent.sol/BaseComponent.json} +262 -237
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +675 -0
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +156 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +152 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +275 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +157 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/components/Pool.sol/Pool.json +842 -0
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/components/Product.sol/Product.json +775 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
- 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/SM.sol/SM.json +2 -2
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
- 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/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 +788 -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 +4 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1737 -0
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +448 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +570 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +465 -950
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +244 -114
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +763 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1422 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +871 -25
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +460 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +285 -0
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +532 -0
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +113 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +0 -77
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +10 -244
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +945 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +432 -0
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +814 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +693 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +420 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +669 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +466 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +446 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +664 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +499 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +536 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +993 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +464 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +727 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +420 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +777 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +420 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +47 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +150 -70
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +259 -28
- 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 +125 -212
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +271 -89
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +57 -82
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +546 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +397 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IService.sol/IService.json +14 -14
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +2 -2
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +6 -6
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +442 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +15 -15
- 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/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +6 -6
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +111 -5
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +31 -31
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +2 -2
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- 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/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
- package/contracts/components/BaseComponent.sol +159 -0
- package/contracts/components/Distribution.sol +163 -0
- package/contracts/components/IBaseComponent.sol +17 -2
- package/contracts/components/IDistributionComponent.sol +44 -0
- package/contracts/components/IPoolComponent.sol +66 -0
- package/contracts/components/IProductComponent.sol +35 -0
- package/contracts/components/Pool.sol +271 -0
- package/contracts/components/Product.sol +292 -0
- package/contracts/experiment/cloning/Cloner.sol +47 -0
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +23 -0
- package/contracts/instance/BundleManager.sol +129 -0
- package/contracts/instance/Cloneable.sol +46 -0
- package/contracts/instance/IInstance.sol +62 -0
- package/contracts/instance/IInstanceBase.sol +26 -0
- package/contracts/instance/IInstanceService.sol +40 -0
- package/contracts/instance/Instance.sol +89 -203
- package/contracts/instance/InstanceAccessManager.sol +96 -81
- package/contracts/instance/InstanceBase.sol +41 -0
- package/contracts/instance/InstanceReader.sol +315 -0
- package/contracts/instance/InstanceService.sol +327 -22
- package/contracts/instance/InstanceServiceManager.sol +54 -0
- package/contracts/instance/ObjectManager.sol +101 -0
- package/contracts/instance/base/ComponentServiceBase.sol +82 -0
- package/contracts/instance/base/IInstanceBase.sol +23 -0
- package/contracts/instance/base/IKeyValueStore.sol +5 -4
- package/contracts/instance/base/KeyValueStore.sol +4 -20
- package/contracts/instance/module/IAccess.sol +29 -19
- package/contracts/instance/module/IBundle.sol +1 -0
- package/contracts/instance/module/ISetup.sol +6 -1
- package/contracts/instance/module/ITreasury.sol +1 -1
- package/contracts/instance/service/BundleService.sol +260 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ComponentOwnerService.sol +315 -0
- package/contracts/instance/service/DistributionService.sol +113 -0
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- package/contracts/instance/service/IBundleService.sol +45 -0
- package/contracts/instance/service/IComponentOwnerService.sol +20 -0
- package/contracts/instance/service/IDistributionService.sol +12 -0
- package/contracts/instance/service/IPolicyService.sol +87 -0
- package/contracts/instance/service/IPoolService.sol +20 -0
- package/contracts/instance/service/IProductService.sol +40 -0
- package/contracts/instance/service/PolicyService.sol +503 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +124 -0
- package/contracts/instance/service/PoolServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +170 -0
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +41 -26
- package/contracts/registry/IRegistry.sol +43 -25
- package/contracts/registry/IRegistryService.sol +53 -24
- package/contracts/registry/Registry.sol +212 -307
- package/contracts/registry/RegistryAccessManager.sol +210 -0
- package/contracts/registry/RegistryService.sol +158 -204
- package/contracts/registry/RegistryServiceManager.sol +28 -9
- package/contracts/registry/ReleaseManager.sol +348 -0
- package/contracts/registry/TokenRegistry.sol +110 -0
- package/contracts/shared/ERC165.sol +7 -3
- package/contracts/shared/IRegisterable.sol +1 -1
- package/contracts/shared/IService.sol +16 -0
- package/contracts/shared/NftOwnable.sol +2 -4
- package/contracts/shared/ProxyManager.sol +4 -4
- package/contracts/shared/Registerable.sol +3 -2
- package/contracts/shared/RegisterableUpgradable.sol +16 -0
- package/contracts/shared/Service.sol +58 -0
- package/contracts/shared/TokenHandler.sol +2 -2
- package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
- package/contracts/shared/Versionable.sol +1 -1
- package/contracts/test/TestFee.sol +2 -2
- package/contracts/test/TestRoleId.sol +6 -6
- package/contracts/test/TestService.sol +6 -7
- package/contracts/types/Fee.sol +3 -3
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/RoleId.sol +19 -4
- package/contracts/types/StateId.sol +4 -0
- package/contracts/types/UFixed.sol +128 -12
- package/contracts/types/Version.sol +4 -1
- package/package.json +4 -3
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/contracts/instance/AccessManagedSimple.sol +0 -114
- package/contracts/instance/AccessManagerSimple.sol +0 -682
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/base/IService.sol +0 -15
- package/contracts/instance/base/ServiceBase.sol +0 -44
- package/contracts/registry/IChainNft.sol +0 -22
@@ -1,295 +1,299 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "
|
4
|
-
"sourceName": "contracts/
|
3
|
+
"contractName": "BaseComponent",
|
4
|
+
"sourceName": "contracts/components/BaseComponent.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
|
-
"anonymous": false,
|
8
7
|
"inputs": [
|
9
8
|
{
|
10
|
-
"indexed": true,
|
11
|
-
"internalType": "address",
|
12
|
-
"name": "owner",
|
13
|
-
"type": "address"
|
14
|
-
},
|
15
|
-
{
|
16
|
-
"indexed": true,
|
17
9
|
"internalType": "address",
|
18
|
-
"name": "
|
10
|
+
"name": "target",
|
19
11
|
"type": "address"
|
20
|
-
},
|
21
|
-
{
|
22
|
-
"indexed": true,
|
23
|
-
"internalType": "uint256",
|
24
|
-
"name": "tokenId",
|
25
|
-
"type": "uint256"
|
26
12
|
}
|
27
13
|
],
|
28
|
-
"name": "
|
29
|
-
"type": "
|
14
|
+
"name": "AddressEmptyCode",
|
15
|
+
"type": "error"
|
30
16
|
},
|
31
17
|
{
|
32
|
-
"anonymous": false,
|
33
18
|
"inputs": [
|
34
19
|
{
|
35
|
-
"indexed": true,
|
36
20
|
"internalType": "address",
|
37
|
-
"name": "
|
21
|
+
"name": "account",
|
38
22
|
"type": "address"
|
39
|
-
}
|
23
|
+
}
|
24
|
+
],
|
25
|
+
"name": "AddressInsufficientBalance",
|
26
|
+
"type": "error"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"inputs": [
|
40
30
|
{
|
41
|
-
"indexed": true,
|
42
31
|
"internalType": "address",
|
43
|
-
"name": "
|
32
|
+
"name": "registry",
|
44
33
|
"type": "address"
|
45
34
|
},
|
46
35
|
{
|
47
|
-
"
|
48
|
-
"
|
49
|
-
"
|
50
|
-
"type": "bool"
|
36
|
+
"internalType": "NftId",
|
37
|
+
"name": "nftId",
|
38
|
+
"type": "uint96"
|
51
39
|
}
|
52
40
|
],
|
53
|
-
"name": "
|
54
|
-
"type": "
|
41
|
+
"name": "ErrorAlreadyLinked",
|
42
|
+
"type": "error"
|
55
43
|
},
|
56
44
|
{
|
57
|
-
"anonymous": false,
|
58
45
|
"inputs": [
|
59
46
|
{
|
60
|
-
"indexed": true,
|
61
|
-
"internalType": "address",
|
62
|
-
"name": "from",
|
63
|
-
"type": "address"
|
64
|
-
},
|
65
|
-
{
|
66
|
-
"indexed": true,
|
67
47
|
"internalType": "address",
|
68
|
-
"name": "
|
48
|
+
"name": "caller",
|
69
49
|
"type": "address"
|
70
50
|
},
|
71
51
|
{
|
72
|
-
"
|
73
|
-
"
|
74
|
-
"
|
75
|
-
"type": "uint256"
|
52
|
+
"internalType": "uint64",
|
53
|
+
"name": "requiredRoleIdNum",
|
54
|
+
"type": "uint64"
|
76
55
|
}
|
77
56
|
],
|
78
|
-
"name": "
|
79
|
-
"type": "
|
57
|
+
"name": "ErrorBaseComponentUnauthorized",
|
58
|
+
"type": "error"
|
80
59
|
},
|
81
60
|
{
|
82
61
|
"inputs": [
|
83
62
|
{
|
84
63
|
"internalType": "address",
|
85
|
-
"name": "
|
64
|
+
"name": "newWallet",
|
86
65
|
"type": "address"
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"internalType": "uint256",
|
90
|
-
"name": "tokenId",
|
91
|
-
"type": "uint256"
|
92
66
|
}
|
93
67
|
],
|
94
|
-
"name": "
|
95
|
-
"
|
96
|
-
"stateMutability": "nonpayable",
|
97
|
-
"type": "function"
|
68
|
+
"name": "ErrorBaseComponentWalletAddressIsSameAsCurrent",
|
69
|
+
"type": "error"
|
98
70
|
},
|
99
71
|
{
|
100
72
|
"inputs": [
|
101
73
|
{
|
102
74
|
"internalType": "address",
|
103
|
-
"name": "
|
75
|
+
"name": "oldWallet",
|
104
76
|
"type": "address"
|
105
|
-
}
|
106
|
-
|
107
|
-
|
108
|
-
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"internalType": "address",
|
80
|
+
"name": "newWallet",
|
81
|
+
"type": "address"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"internalType": "uint256",
|
85
|
+
"name": "allowance",
|
86
|
+
"type": "uint256"
|
87
|
+
},
|
109
88
|
{
|
110
89
|
"internalType": "uint256",
|
111
90
|
"name": "balance",
|
112
91
|
"type": "uint256"
|
113
92
|
}
|
114
93
|
],
|
115
|
-
"
|
116
|
-
"type": "
|
94
|
+
"name": "ErrorBaseComponentWalletAllowanceTooSmall",
|
95
|
+
"type": "error"
|
117
96
|
},
|
118
97
|
{
|
119
98
|
"inputs": [
|
120
99
|
{
|
121
|
-
"internalType": "
|
122
|
-
"name": "
|
123
|
-
"type": "
|
100
|
+
"internalType": "address",
|
101
|
+
"name": "contractAddress",
|
102
|
+
"type": "address"
|
124
103
|
}
|
125
104
|
],
|
126
|
-
"name": "
|
127
|
-
"
|
128
|
-
"stateMutability": "nonpayable",
|
129
|
-
"type": "function"
|
105
|
+
"name": "ErrorContractNotRegistered",
|
106
|
+
"type": "error"
|
130
107
|
},
|
131
108
|
{
|
132
109
|
"inputs": [
|
133
110
|
{
|
134
|
-
"internalType": "
|
135
|
-
"name": "
|
136
|
-
"type": "
|
137
|
-
}
|
138
|
-
],
|
139
|
-
"name": "exists",
|
140
|
-
"outputs": [
|
141
|
-
{
|
142
|
-
"internalType": "bool",
|
143
|
-
"name": "",
|
144
|
-
"type": "bool"
|
111
|
+
"internalType": "address",
|
112
|
+
"name": "account",
|
113
|
+
"type": "address"
|
145
114
|
}
|
146
115
|
],
|
147
|
-
"
|
148
|
-
"type": "
|
116
|
+
"name": "ErrorNotOwner",
|
117
|
+
"type": "error"
|
149
118
|
},
|
150
119
|
{
|
151
120
|
"inputs": [
|
152
|
-
{
|
153
|
-
"internalType": "uint256",
|
154
|
-
"name": "tokenId",
|
155
|
-
"type": "uint256"
|
156
|
-
}
|
157
|
-
],
|
158
|
-
"name": "getApproved",
|
159
|
-
"outputs": [
|
160
121
|
{
|
161
122
|
"internalType": "address",
|
162
|
-
"name": "
|
123
|
+
"name": "registryAddress",
|
163
124
|
"type": "address"
|
164
125
|
}
|
165
126
|
],
|
166
|
-
"
|
167
|
-
"type": "
|
127
|
+
"name": "ErrorNotRegistry",
|
128
|
+
"type": "error"
|
168
129
|
},
|
169
130
|
{
|
170
|
-
"inputs": [
|
171
|
-
"name": "getRegistryAddress",
|
172
|
-
"outputs": [
|
131
|
+
"inputs": [
|
173
132
|
{
|
174
133
|
"internalType": "address",
|
175
|
-
"name": "
|
134
|
+
"name": "registryAddress",
|
176
135
|
"type": "address"
|
177
136
|
}
|
178
137
|
],
|
179
|
-
"
|
180
|
-
"type": "
|
138
|
+
"name": "ErrorRegisterableNotRegistry",
|
139
|
+
"type": "error"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"inputs": [],
|
143
|
+
"name": "ErrorRegistryAddressZero",
|
144
|
+
"type": "error"
|
181
145
|
},
|
182
146
|
{
|
183
147
|
"inputs": [
|
184
148
|
{
|
185
149
|
"internalType": "address",
|
186
|
-
"name": "
|
187
|
-
"type": "address"
|
188
|
-
},
|
189
|
-
{
|
190
|
-
"internalType": "address",
|
191
|
-
"name": "operator",
|
150
|
+
"name": "registry",
|
192
151
|
"type": "address"
|
193
152
|
}
|
194
153
|
],
|
195
|
-
"name": "
|
196
|
-
"
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
"
|
154
|
+
"name": "ErrorRegistryAlreadyInitialized",
|
155
|
+
"type": "error"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"inputs": [],
|
159
|
+
"name": "ErrorRegistryNotInitialized",
|
160
|
+
"type": "error"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"inputs": [],
|
164
|
+
"name": "FailedInnerCall",
|
165
|
+
"type": "error"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"inputs": [],
|
169
|
+
"name": "InvalidInitialization",
|
170
|
+
"type": "error"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"inputs": [],
|
174
|
+
"name": "NotInitializing",
|
175
|
+
"type": "error"
|
205
176
|
},
|
206
177
|
{
|
207
178
|
"inputs": [
|
208
179
|
{
|
209
180
|
"internalType": "address",
|
210
|
-
"name": "
|
211
|
-
"type": "address"
|
212
|
-
},
|
213
|
-
{
|
214
|
-
"internalType": "address",
|
215
|
-
"name": "interceptor",
|
181
|
+
"name": "token",
|
216
182
|
"type": "address"
|
217
|
-
},
|
218
|
-
{
|
219
|
-
"internalType": "string",
|
220
|
-
"name": "uri",
|
221
|
-
"type": "string"
|
222
183
|
}
|
223
184
|
],
|
224
|
-
"name": "
|
225
|
-
"
|
226
|
-
{
|
227
|
-
"internalType": "uint256",
|
228
|
-
"name": "tokenId",
|
229
|
-
"type": "uint256"
|
230
|
-
}
|
231
|
-
],
|
232
|
-
"stateMutability": "nonpayable",
|
233
|
-
"type": "function"
|
185
|
+
"name": "SafeERC20FailedOperation",
|
186
|
+
"type": "error"
|
234
187
|
},
|
235
188
|
{
|
189
|
+
"anonymous": false,
|
236
190
|
"inputs": [
|
237
191
|
{
|
238
|
-
"
|
239
|
-
"
|
240
|
-
"
|
192
|
+
"indexed": false,
|
193
|
+
"internalType": "uint64",
|
194
|
+
"name": "version",
|
195
|
+
"type": "uint64"
|
241
196
|
}
|
242
197
|
],
|
243
|
-
"name": "
|
244
|
-
"
|
198
|
+
"name": "Initialized",
|
199
|
+
"type": "event"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"anonymous": false,
|
203
|
+
"inputs": [
|
245
204
|
{
|
205
|
+
"indexed": false,
|
246
206
|
"internalType": "address",
|
247
|
-
"name": "
|
207
|
+
"name": "newWallet",
|
248
208
|
"type": "address"
|
249
209
|
}
|
250
210
|
],
|
251
|
-
"
|
252
|
-
"type": "
|
211
|
+
"name": "LogBaseComponentWalletAddressChanged",
|
212
|
+
"type": "event"
|
253
213
|
},
|
254
214
|
{
|
215
|
+
"anonymous": false,
|
255
216
|
"inputs": [
|
256
217
|
{
|
218
|
+
"indexed": false,
|
257
219
|
"internalType": "address",
|
258
220
|
"name": "from",
|
259
221
|
"type": "address"
|
260
222
|
},
|
261
223
|
{
|
224
|
+
"indexed": false,
|
262
225
|
"internalType": "address",
|
263
226
|
"name": "to",
|
264
227
|
"type": "address"
|
265
228
|
},
|
266
229
|
{
|
230
|
+
"indexed": false,
|
267
231
|
"internalType": "uint256",
|
268
|
-
"name": "
|
232
|
+
"name": "amount",
|
269
233
|
"type": "uint256"
|
270
234
|
}
|
271
235
|
],
|
272
|
-
"name": "
|
273
|
-
"
|
274
|
-
"stateMutability": "nonpayable",
|
275
|
-
"type": "function"
|
236
|
+
"name": "LogBaseComponentWalletTokensTransferred",
|
237
|
+
"type": "event"
|
276
238
|
},
|
277
239
|
{
|
278
|
-
"inputs": [
|
279
|
-
|
280
|
-
|
281
|
-
"name": "from",
|
282
|
-
"type": "address"
|
283
|
-
},
|
240
|
+
"inputs": [],
|
241
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
242
|
+
"outputs": [
|
284
243
|
{
|
285
|
-
"internalType": "
|
286
|
-
"name": "
|
287
|
-
"type": "
|
288
|
-
}
|
244
|
+
"internalType": "bytes32",
|
245
|
+
"name": "",
|
246
|
+
"type": "bytes32"
|
247
|
+
}
|
248
|
+
],
|
249
|
+
"stateMutability": "view",
|
250
|
+
"type": "function"
|
251
|
+
},
|
252
|
+
{
|
253
|
+
"inputs": [],
|
254
|
+
"name": "getInitialInfo",
|
255
|
+
"outputs": [
|
289
256
|
{
|
290
|
-
"
|
291
|
-
|
292
|
-
|
257
|
+
"components": [
|
258
|
+
{
|
259
|
+
"internalType": "NftId",
|
260
|
+
"name": "nftId",
|
261
|
+
"type": "uint96"
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"internalType": "NftId",
|
265
|
+
"name": "parentNftId",
|
266
|
+
"type": "uint96"
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"internalType": "ObjectType",
|
270
|
+
"name": "objectType",
|
271
|
+
"type": "uint8"
|
272
|
+
},
|
273
|
+
{
|
274
|
+
"internalType": "bool",
|
275
|
+
"name": "isInterceptor",
|
276
|
+
"type": "bool"
|
277
|
+
},
|
278
|
+
{
|
279
|
+
"internalType": "address",
|
280
|
+
"name": "objectAddress",
|
281
|
+
"type": "address"
|
282
|
+
},
|
283
|
+
{
|
284
|
+
"internalType": "address",
|
285
|
+
"name": "initialOwner",
|
286
|
+
"type": "address"
|
287
|
+
},
|
288
|
+
{
|
289
|
+
"internalType": "bytes",
|
290
|
+
"name": "data",
|
291
|
+
"type": "bytes"
|
292
|
+
}
|
293
|
+
],
|
294
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
295
|
+
"name": "",
|
296
|
+
"type": "tuple"
|
293
297
|
},
|
294
298
|
{
|
295
299
|
"internalType": "bytes",
|
@@ -297,104 +301,82 @@
|
|
297
301
|
"type": "bytes"
|
298
302
|
}
|
299
303
|
],
|
300
|
-
"
|
301
|
-
"outputs": [],
|
302
|
-
"stateMutability": "nonpayable",
|
304
|
+
"stateMutability": "view",
|
303
305
|
"type": "function"
|
304
306
|
},
|
305
307
|
{
|
306
|
-
"inputs": [
|
308
|
+
"inputs": [],
|
309
|
+
"name": "getInstance",
|
310
|
+
"outputs": [
|
307
311
|
{
|
308
|
-
"internalType": "
|
309
|
-
"name": "
|
312
|
+
"internalType": "contract IInstance",
|
313
|
+
"name": "instance",
|
310
314
|
"type": "address"
|
311
|
-
},
|
312
|
-
{
|
313
|
-
"internalType": "bool",
|
314
|
-
"name": "approved",
|
315
|
-
"type": "bool"
|
316
315
|
}
|
317
316
|
],
|
318
|
-
"
|
319
|
-
"outputs": [],
|
320
|
-
"stateMutability": "nonpayable",
|
317
|
+
"stateMutability": "view",
|
321
318
|
"type": "function"
|
322
319
|
},
|
323
320
|
{
|
324
|
-
"inputs": [
|
325
|
-
|
326
|
-
|
327
|
-
"name": "tokenId",
|
328
|
-
"type": "uint256"
|
329
|
-
},
|
321
|
+
"inputs": [],
|
322
|
+
"name": "getName",
|
323
|
+
"outputs": [
|
330
324
|
{
|
331
325
|
"internalType": "string",
|
332
|
-
"name": "
|
326
|
+
"name": "name",
|
333
327
|
"type": "string"
|
334
328
|
}
|
335
329
|
],
|
336
|
-
"
|
337
|
-
"outputs": [],
|
338
|
-
"stateMutability": "nonpayable",
|
330
|
+
"stateMutability": "pure",
|
339
331
|
"type": "function"
|
340
332
|
},
|
341
333
|
{
|
342
|
-
"inputs": [
|
343
|
-
|
344
|
-
"internalType": "bytes4",
|
345
|
-
"name": "interfaceId",
|
346
|
-
"type": "bytes4"
|
347
|
-
}
|
348
|
-
],
|
349
|
-
"name": "supportsInterface",
|
334
|
+
"inputs": [],
|
335
|
+
"name": "getNftId",
|
350
336
|
"outputs": [
|
351
337
|
{
|
352
|
-
"internalType": "
|
338
|
+
"internalType": "NftId",
|
353
339
|
"name": "",
|
354
|
-
"type": "
|
340
|
+
"type": "uint96"
|
355
341
|
}
|
356
342
|
],
|
357
343
|
"stateMutability": "view",
|
358
344
|
"type": "function"
|
359
345
|
},
|
360
346
|
{
|
361
|
-
"inputs": [
|
362
|
-
|
363
|
-
"internalType": "uint256",
|
364
|
-
"name": "index",
|
365
|
-
"type": "uint256"
|
366
|
-
}
|
367
|
-
],
|
368
|
-
"name": "tokenByIndex",
|
347
|
+
"inputs": [],
|
348
|
+
"name": "getOwner",
|
369
349
|
"outputs": [
|
370
350
|
{
|
371
|
-
"internalType": "
|
351
|
+
"internalType": "address",
|
372
352
|
"name": "",
|
373
|
-
"type": "
|
353
|
+
"type": "address"
|
374
354
|
}
|
375
355
|
],
|
376
356
|
"stateMutability": "view",
|
377
357
|
"type": "function"
|
378
358
|
},
|
379
359
|
{
|
380
|
-
"inputs": [
|
381
|
-
|
382
|
-
|
383
|
-
"name": "owner",
|
384
|
-
"type": "address"
|
385
|
-
},
|
360
|
+
"inputs": [],
|
361
|
+
"name": "getProductNftId",
|
362
|
+
"outputs": [
|
386
363
|
{
|
387
|
-
"internalType": "
|
388
|
-
"name": "
|
389
|
-
"type": "
|
364
|
+
"internalType": "NftId",
|
365
|
+
"name": "productNftId",
|
366
|
+
"type": "uint96"
|
390
367
|
}
|
391
368
|
],
|
392
|
-
"
|
369
|
+
"stateMutability": "view",
|
370
|
+
"type": "function"
|
371
|
+
},
|
372
|
+
{
|
373
|
+
"inputs": [],
|
374
|
+
"name": "getRegistry",
|
393
375
|
"outputs": [
|
394
376
|
{
|
395
|
-
"internalType": "
|
377
|
+
"internalType": "contract IRegistry",
|
396
378
|
"name": "",
|
397
|
-
"type": "
|
379
|
+
"type": "address"
|
398
380
|
}
|
399
381
|
],
|
400
382
|
"stateMutability": "view",
|
@@ -402,12 +384,12 @@
|
|
402
384
|
},
|
403
385
|
{
|
404
386
|
"inputs": [],
|
405
|
-
"name": "
|
387
|
+
"name": "getToken",
|
406
388
|
"outputs": [
|
407
389
|
{
|
408
|
-
"internalType": "
|
409
|
-
"name": "",
|
410
|
-
"type": "
|
390
|
+
"internalType": "contract IERC20Metadata",
|
391
|
+
"name": "token",
|
392
|
+
"type": "address"
|
411
393
|
}
|
412
394
|
],
|
413
395
|
"stateMutability": "view",
|
@@ -415,36 +397,79 @@
|
|
415
397
|
},
|
416
398
|
{
|
417
399
|
"inputs": [],
|
418
|
-
"name": "
|
400
|
+
"name": "getWallet",
|
419
401
|
"outputs": [
|
420
402
|
{
|
421
|
-
"internalType": "
|
422
|
-
"name": "",
|
423
|
-
"type": "
|
403
|
+
"internalType": "address",
|
404
|
+
"name": "walletAddress",
|
405
|
+
"type": "address"
|
424
406
|
}
|
425
407
|
],
|
426
408
|
"stateMutability": "view",
|
427
409
|
"type": "function"
|
428
410
|
},
|
411
|
+
{
|
412
|
+
"inputs": [],
|
413
|
+
"name": "linkToRegisteredNftId",
|
414
|
+
"outputs": [],
|
415
|
+
"stateMutability": "nonpayable",
|
416
|
+
"type": "function"
|
417
|
+
},
|
418
|
+
{
|
419
|
+
"inputs": [],
|
420
|
+
"name": "lock",
|
421
|
+
"outputs": [],
|
422
|
+
"stateMutability": "nonpayable",
|
423
|
+
"type": "function"
|
424
|
+
},
|
429
425
|
{
|
430
426
|
"inputs": [
|
431
427
|
{
|
432
|
-
"internalType": "
|
433
|
-
"name": "
|
434
|
-
"type": "
|
435
|
-
}
|
428
|
+
"internalType": "NftId",
|
429
|
+
"name": "productNftId",
|
430
|
+
"type": "uint96"
|
431
|
+
}
|
432
|
+
],
|
433
|
+
"name": "setProductNftId",
|
434
|
+
"outputs": [],
|
435
|
+
"stateMutability": "nonpayable",
|
436
|
+
"type": "function"
|
437
|
+
},
|
438
|
+
{
|
439
|
+
"inputs": [
|
436
440
|
{
|
437
441
|
"internalType": "address",
|
438
|
-
"name": "
|
442
|
+
"name": "newWallet",
|
439
443
|
"type": "address"
|
440
|
-
}
|
444
|
+
}
|
445
|
+
],
|
446
|
+
"name": "setWallet",
|
447
|
+
"outputs": [],
|
448
|
+
"stateMutability": "nonpayable",
|
449
|
+
"type": "function"
|
450
|
+
},
|
451
|
+
{
|
452
|
+
"inputs": [
|
441
453
|
{
|
442
|
-
"internalType": "
|
443
|
-
"name": "
|
444
|
-
"type": "
|
454
|
+
"internalType": "bytes4",
|
455
|
+
"name": "interfaceId",
|
456
|
+
"type": "bytes4"
|
457
|
+
}
|
458
|
+
],
|
459
|
+
"name": "supportsInterface",
|
460
|
+
"outputs": [
|
461
|
+
{
|
462
|
+
"internalType": "bool",
|
463
|
+
"name": "",
|
464
|
+
"type": "bool"
|
445
465
|
}
|
446
466
|
],
|
447
|
-
"
|
467
|
+
"stateMutability": "view",
|
468
|
+
"type": "function"
|
469
|
+
},
|
470
|
+
{
|
471
|
+
"inputs": [],
|
472
|
+
"name": "unlock",
|
448
473
|
"outputs": [],
|
449
474
|
"stateMutability": "nonpayable",
|
450
475
|
"type": "function"
|