@etherisc/gif-next 0.0.2-ce8407f-016 → 0.0.2-ce87da3-250
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +243 -2
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +853 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +1346 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → components/IComponent.sol/IComponent.json} +195 -150
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +900 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +887 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +806 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/components/Pool.sol/Pool.json +1322 -0
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/components/Product.sol/Product.json +1246 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +86 -2
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2475 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +509 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +1051 -1183
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +211 -144
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +562 -54
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +958 -29
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +693 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +552 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +0 -77
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +10 -244
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +869 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +657 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1096 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1254 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +753 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +473 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +633 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +639 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +583 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +347 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +384 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1120 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +717 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +727 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +649 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +777 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +47 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +236 -63
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +323 -178
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +210 -212
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +432 -268
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +323 -129
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/IService.sol/IService.json} +67 -39
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/IService.sol/IService.json → shared/Service.sol/Service.json} +155 -151
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +111 -5
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +147 -226
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +2 -2
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
- package/contracts/components/Component.sol +241 -0
- package/contracts/components/Distribution.sol +287 -0
- package/contracts/components/IComponent.sol +54 -0
- package/contracts/components/IDistributionComponent.sol +92 -0
- package/contracts/components/IPoolComponent.sol +87 -0
- package/contracts/components/IProductComponent.sol +39 -0
- package/contracts/components/Pool.sol +254 -0
- package/contracts/components/Product.sol +285 -0
- package/contracts/instance/BundleManager.sol +125 -0
- package/contracts/instance/Cloneable.sol +46 -0
- package/contracts/instance/IInstance.sol +87 -1
- package/contracts/instance/IInstanceService.sol +59 -0
- package/contracts/instance/Instance.sol +137 -238
- package/contracts/instance/InstanceAccessManager.sol +90 -81
- package/contracts/instance/InstanceReader.sol +86 -28
- package/contracts/instance/InstanceService.sol +453 -22
- package/contracts/instance/InstanceServiceManager.sol +54 -0
- package/contracts/instance/ObjectManager.sol +84 -0
- package/contracts/instance/base/ComponentService.sol +134 -0
- package/contracts/instance/base/IKeyValueStore.sol +5 -4
- package/contracts/instance/base/KeyValueStore.sol +4 -20
- package/contracts/instance/module/IAccess.sol +28 -19
- package/contracts/instance/module/IBundle.sol +1 -0
- package/contracts/instance/module/IDistribution.sol +1 -0
- package/contracts/instance/module/IPolicy.sol +4 -2
- package/contracts/instance/module/ISetup.sol +10 -3
- package/contracts/instance/module/ITreasury.sol +1 -1
- package/contracts/instance/service/ApplicationService.sol +268 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +298 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ClaimService.sol +151 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +366 -0
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +54 -0
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +81 -0
- package/contracts/instance/service/IPolicyService.sol +89 -0
- package/contracts/instance/service/IPoolService.sol +20 -0
- package/contracts/instance/service/IProductService.sol +40 -0
- package/contracts/instance/service/PolicyService.sol +476 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +109 -0
- package/contracts/instance/service/PoolServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +233 -0
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +41 -26
- package/contracts/registry/IRegistry.sol +51 -25
- package/contracts/registry/IRegistryService.sol +54 -16
- package/contracts/registry/Registry.sol +279 -306
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +170 -256
- package/contracts/registry/RegistryServiceManager.sol +30 -11
- package/contracts/registry/ReleaseManager.sol +322 -0
- package/contracts/registry/TokenRegistry.sol +116 -0
- package/contracts/shared/ERC165.sol +15 -9
- package/contracts/shared/INftOwnable.sol +11 -10
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +18 -0
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +67 -83
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +101 -26
- package/contracts/shared/Registerable.sol +15 -30
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +58 -0
- package/contracts/shared/TokenHandler.sol +2 -2
- package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
- package/contracts/shared/Versionable.sol +5 -93
- package/contracts/test/TestFee.sol +2 -2
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestRoleId.sol +6 -6
- package/contracts/test/TestService.sol +6 -7
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/Fee.sol +3 -3
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/ObjectType.sol +9 -5
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/RoleId.sol +19 -4
- package/contracts/types/StateId.sol +4 -0
- package/contracts/types/UFixed.sol +128 -12
- package/contracts/types/Version.sol +4 -1
- package/package.json +6 -5
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/contracts/components/IBaseComponent.sol +0 -19
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/AccessManagedSimple.sol +0 -114
- package/contracts/instance/AccessManagerSimple.sol +0 -682
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/base/IService.sol +0 -15
- package/contracts/instance/base/ServiceBase.sol +0 -44
- package/contracts/registry/IChainNft.sol +0 -22
@@ -1,97 +1,156 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "
|
4
|
-
"sourceName": "contracts/
|
3
|
+
"contractName": "IComponent",
|
4
|
+
"sourceName": "contracts/components/IComponent.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
10
|
+
"name": "caller",
|
11
11
|
"type": "address"
|
12
|
-
}
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "ErrorComponentNotChainNft",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
13
19
|
{
|
14
20
|
"internalType": "NftId",
|
15
|
-
"name": "
|
21
|
+
"name": "instanceNftId",
|
16
22
|
"type": "uint96"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "address",
|
26
|
+
"name": "instance",
|
27
|
+
"type": "address"
|
17
28
|
}
|
18
29
|
],
|
19
|
-
"name": "
|
30
|
+
"name": "ErrorComponentNotInstance",
|
20
31
|
"type": "error"
|
21
32
|
},
|
22
33
|
{
|
23
34
|
"inputs": [
|
24
35
|
{
|
25
36
|
"internalType": "address",
|
26
|
-
"name": "
|
37
|
+
"name": "caller",
|
27
38
|
"type": "address"
|
28
39
|
}
|
29
40
|
],
|
30
|
-
"name": "
|
41
|
+
"name": "ErrorComponentNotProductService",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [],
|
46
|
+
"name": "ErrorComponentProductNftAlreadySet",
|
31
47
|
"type": "error"
|
32
48
|
},
|
33
49
|
{
|
34
50
|
"inputs": [
|
35
51
|
{
|
36
52
|
"internalType": "address",
|
37
|
-
"name": "
|
53
|
+
"name": "caller",
|
38
54
|
"type": "address"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"internalType": "uint64",
|
58
|
+
"name": "requiredRoleIdNum",
|
59
|
+
"type": "uint64"
|
39
60
|
}
|
40
61
|
],
|
41
|
-
"name": "
|
62
|
+
"name": "ErrorComponentUnauthorized",
|
42
63
|
"type": "error"
|
43
64
|
},
|
44
65
|
{
|
45
66
|
"inputs": [
|
46
67
|
{
|
47
68
|
"internalType": "address",
|
48
|
-
"name": "
|
69
|
+
"name": "newWallet",
|
49
70
|
"type": "address"
|
50
71
|
}
|
51
72
|
],
|
52
|
-
"name": "
|
73
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
74
|
+
"type": "error"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"inputs": [],
|
78
|
+
"name": "ErrorComponentWalletAddressZero",
|
53
79
|
"type": "error"
|
54
80
|
},
|
55
81
|
{
|
56
82
|
"inputs": [
|
57
83
|
{
|
58
84
|
"internalType": "address",
|
59
|
-
"name": "
|
85
|
+
"name": "oldWallet",
|
60
86
|
"type": "address"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"internalType": "address",
|
90
|
+
"name": "newWallet",
|
91
|
+
"type": "address"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"internalType": "uint256",
|
95
|
+
"name": "allowance",
|
96
|
+
"type": "uint256"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"internalType": "uint256",
|
100
|
+
"name": "balance",
|
101
|
+
"type": "uint256"
|
61
102
|
}
|
62
103
|
],
|
63
|
-
"name": "
|
104
|
+
"name": "ErrorComponentWalletAllowanceTooSmall",
|
64
105
|
"type": "error"
|
65
106
|
},
|
66
107
|
{
|
67
|
-
"inputs": [
|
68
|
-
|
108
|
+
"inputs": [
|
109
|
+
{
|
110
|
+
"internalType": "NftId",
|
111
|
+
"name": "nftId",
|
112
|
+
"type": "uint96"
|
113
|
+
}
|
114
|
+
],
|
115
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
69
116
|
"type": "error"
|
70
117
|
},
|
71
118
|
{
|
72
119
|
"inputs": [
|
73
120
|
{
|
74
121
|
"internalType": "address",
|
75
|
-
"name": "
|
122
|
+
"name": "contractAddress",
|
76
123
|
"type": "address"
|
77
124
|
}
|
78
125
|
],
|
79
|
-
"name": "
|
126
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
80
127
|
"type": "error"
|
81
128
|
},
|
82
129
|
{
|
83
130
|
"inputs": [],
|
84
|
-
"name": "
|
131
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
85
132
|
"type": "error"
|
86
133
|
},
|
87
134
|
{
|
88
|
-
"inputs": [
|
89
|
-
|
135
|
+
"inputs": [
|
136
|
+
{
|
137
|
+
"internalType": "address",
|
138
|
+
"name": "account",
|
139
|
+
"type": "address"
|
140
|
+
}
|
141
|
+
],
|
142
|
+
"name": "ErrorNftOwnableNotOwner",
|
90
143
|
"type": "error"
|
91
144
|
},
|
92
145
|
{
|
93
|
-
"inputs": [
|
94
|
-
|
146
|
+
"inputs": [
|
147
|
+
{
|
148
|
+
"internalType": "address",
|
149
|
+
"name": "registryAddress",
|
150
|
+
"type": "address"
|
151
|
+
}
|
152
|
+
],
|
153
|
+
"name": "ErrorNotRegistry",
|
95
154
|
"type": "error"
|
96
155
|
},
|
97
156
|
{
|
@@ -99,12 +158,12 @@
|
|
99
158
|
"inputs": [
|
100
159
|
{
|
101
160
|
"indexed": false,
|
102
|
-
"internalType": "
|
103
|
-
"name": "
|
104
|
-
"type": "
|
161
|
+
"internalType": "address",
|
162
|
+
"name": "newWallet",
|
163
|
+
"type": "address"
|
105
164
|
}
|
106
165
|
],
|
107
|
-
"name": "
|
166
|
+
"name": "LogComponentWalletAddressChanged",
|
108
167
|
"type": "event"
|
109
168
|
},
|
110
169
|
{
|
@@ -112,39 +171,26 @@
|
|
112
171
|
"inputs": [
|
113
172
|
{
|
114
173
|
"indexed": false,
|
115
|
-
"internalType": "
|
116
|
-
"name": "
|
117
|
-
"type": "
|
174
|
+
"internalType": "address",
|
175
|
+
"name": "from",
|
176
|
+
"type": "address"
|
118
177
|
},
|
119
178
|
{
|
120
179
|
"indexed": false,
|
121
180
|
"internalType": "address",
|
122
|
-
"name": "
|
181
|
+
"name": "to",
|
123
182
|
"type": "address"
|
124
183
|
},
|
125
184
|
{
|
126
185
|
"indexed": false,
|
127
|
-
"internalType": "
|
128
|
-
"name": "
|
129
|
-
"type": "
|
186
|
+
"internalType": "uint256",
|
187
|
+
"name": "amount",
|
188
|
+
"type": "uint256"
|
130
189
|
}
|
131
190
|
],
|
132
|
-
"name": "
|
191
|
+
"name": "LogComponentWalletTokensTransferred",
|
133
192
|
"type": "event"
|
134
193
|
},
|
135
|
-
{
|
136
|
-
"inputs": [],
|
137
|
-
"name": "REGISTERABLE_LOCATION_V1",
|
138
|
-
"outputs": [
|
139
|
-
{
|
140
|
-
"internalType": "bytes32",
|
141
|
-
"name": "",
|
142
|
-
"type": "bytes32"
|
143
|
-
}
|
144
|
-
],
|
145
|
-
"stateMutability": "view",
|
146
|
-
"type": "function"
|
147
|
-
},
|
148
194
|
{
|
149
195
|
"inputs": [],
|
150
196
|
"name": "getInitialInfo",
|
@@ -190,11 +236,6 @@
|
|
190
236
|
"internalType": "struct IRegistry.ObjectInfo",
|
191
237
|
"name": "",
|
192
238
|
"type": "tuple"
|
193
|
-
},
|
194
|
-
{
|
195
|
-
"internalType": "bytes",
|
196
|
-
"name": "data",
|
197
|
-
"type": "bytes"
|
198
239
|
}
|
199
240
|
],
|
200
241
|
"stateMutability": "view",
|
@@ -202,12 +243,12 @@
|
|
202
243
|
},
|
203
244
|
{
|
204
245
|
"inputs": [],
|
205
|
-
"name": "
|
246
|
+
"name": "getInstance",
|
206
247
|
"outputs": [
|
207
248
|
{
|
208
|
-
"internalType": "
|
209
|
-
"name": "",
|
210
|
-
"type": "
|
249
|
+
"internalType": "contract IInstance",
|
250
|
+
"name": "instance",
|
251
|
+
"type": "address"
|
211
252
|
}
|
212
253
|
],
|
213
254
|
"stateMutability": "view",
|
@@ -215,12 +256,12 @@
|
|
215
256
|
},
|
216
257
|
{
|
217
258
|
"inputs": [],
|
218
|
-
"name": "
|
259
|
+
"name": "getInstanceService",
|
219
260
|
"outputs": [
|
220
261
|
{
|
221
|
-
"internalType": "
|
222
|
-
"name": "
|
223
|
-
"type": "
|
262
|
+
"internalType": "contract IInstanceService",
|
263
|
+
"name": "",
|
264
|
+
"type": "address"
|
224
265
|
}
|
225
266
|
],
|
226
267
|
"stateMutability": "view",
|
@@ -236,7 +277,7 @@
|
|
236
277
|
"type": "string"
|
237
278
|
}
|
238
279
|
],
|
239
|
-
"stateMutability": "
|
280
|
+
"stateMutability": "view",
|
240
281
|
"type": "function"
|
241
282
|
},
|
242
283
|
{
|
@@ -265,6 +306,32 @@
|
|
265
306
|
"stateMutability": "view",
|
266
307
|
"type": "function"
|
267
308
|
},
|
309
|
+
{
|
310
|
+
"inputs": [],
|
311
|
+
"name": "getProductNftId",
|
312
|
+
"outputs": [
|
313
|
+
{
|
314
|
+
"internalType": "NftId",
|
315
|
+
"name": "productNftId",
|
316
|
+
"type": "uint96"
|
317
|
+
}
|
318
|
+
],
|
319
|
+
"stateMutability": "view",
|
320
|
+
"type": "function"
|
321
|
+
},
|
322
|
+
{
|
323
|
+
"inputs": [],
|
324
|
+
"name": "getProductService",
|
325
|
+
"outputs": [
|
326
|
+
{
|
327
|
+
"internalType": "contract IProductService",
|
328
|
+
"name": "",
|
329
|
+
"type": "address"
|
330
|
+
}
|
331
|
+
],
|
332
|
+
"stateMutability": "view",
|
333
|
+
"type": "function"
|
334
|
+
},
|
268
335
|
{
|
269
336
|
"inputs": [],
|
270
337
|
"name": "getRegistry",
|
@@ -280,31 +347,31 @@
|
|
280
347
|
},
|
281
348
|
{
|
282
349
|
"inputs": [],
|
283
|
-
"name": "
|
350
|
+
"name": "getRegistryAddress",
|
284
351
|
"outputs": [
|
285
352
|
{
|
286
|
-
"internalType": "
|
353
|
+
"internalType": "address",
|
287
354
|
"name": "",
|
288
|
-
"type": "
|
355
|
+
"type": "address"
|
289
356
|
}
|
290
357
|
],
|
291
|
-
"stateMutability": "
|
358
|
+
"stateMutability": "view",
|
292
359
|
"type": "function"
|
293
360
|
},
|
294
361
|
{
|
295
362
|
"inputs": [
|
296
363
|
{
|
297
|
-
"internalType": "
|
298
|
-
"name": "
|
299
|
-
"type": "
|
364
|
+
"internalType": "ObjectType",
|
365
|
+
"name": "domain",
|
366
|
+
"type": "uint8"
|
300
367
|
}
|
301
368
|
],
|
302
|
-
"name": "
|
369
|
+
"name": "getServiceAddress",
|
303
370
|
"outputs": [
|
304
371
|
{
|
305
|
-
"internalType": "
|
306
|
-
"name": "",
|
307
|
-
"type": "
|
372
|
+
"internalType": "address",
|
373
|
+
"name": "service",
|
374
|
+
"type": "address"
|
308
375
|
}
|
309
376
|
],
|
310
377
|
"stateMutability": "view",
|
@@ -312,82 +379,76 @@
|
|
312
379
|
},
|
313
380
|
{
|
314
381
|
"inputs": [],
|
315
|
-
"name": "
|
382
|
+
"name": "getToken",
|
316
383
|
"outputs": [
|
317
384
|
{
|
318
|
-
"internalType": "
|
319
|
-
"name": "",
|
320
|
-
"type": "
|
385
|
+
"internalType": "contract IERC20Metadata",
|
386
|
+
"name": "token",
|
387
|
+
"type": "address"
|
321
388
|
}
|
322
389
|
],
|
323
390
|
"stateMutability": "view",
|
324
391
|
"type": "function"
|
325
392
|
},
|
326
393
|
{
|
327
|
-
"inputs": [
|
394
|
+
"inputs": [],
|
395
|
+
"name": "getWallet",
|
396
|
+
"outputs": [
|
328
397
|
{
|
329
|
-
"internalType": "
|
330
|
-
"name": "
|
331
|
-
"type": "
|
398
|
+
"internalType": "address",
|
399
|
+
"name": "walletAddress",
|
400
|
+
"type": "address"
|
332
401
|
}
|
333
402
|
],
|
334
|
-
"
|
403
|
+
"stateMutability": "view",
|
404
|
+
"type": "function"
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"inputs": [],
|
408
|
+
"name": "isNftInterceptor",
|
335
409
|
"outputs": [
|
336
410
|
{
|
337
|
-
"
|
338
|
-
|
339
|
-
|
340
|
-
"name": "version",
|
341
|
-
"type": "uint24"
|
342
|
-
},
|
343
|
-
{
|
344
|
-
"internalType": "address",
|
345
|
-
"name": "implementation",
|
346
|
-
"type": "address"
|
347
|
-
},
|
348
|
-
{
|
349
|
-
"internalType": "address",
|
350
|
-
"name": "activatedBy",
|
351
|
-
"type": "address"
|
352
|
-
},
|
353
|
-
{
|
354
|
-
"internalType": "Timestamp",
|
355
|
-
"name": "activatedAt",
|
356
|
-
"type": "uint40"
|
357
|
-
},
|
358
|
-
{
|
359
|
-
"internalType": "Blocknumber",
|
360
|
-
"name": "activatedIn",
|
361
|
-
"type": "uint32"
|
362
|
-
}
|
363
|
-
],
|
364
|
-
"internalType": "struct IVersionable.VersionInfo",
|
365
|
-
"name": "",
|
366
|
-
"type": "tuple"
|
411
|
+
"internalType": "bool",
|
412
|
+
"name": "isInterceptor",
|
413
|
+
"type": "bool"
|
367
414
|
}
|
368
415
|
],
|
369
416
|
"stateMutability": "view",
|
370
417
|
"type": "function"
|
371
418
|
},
|
419
|
+
{
|
420
|
+
"inputs": [],
|
421
|
+
"name": "linkToRegisteredNftId",
|
422
|
+
"outputs": [],
|
423
|
+
"stateMutability": "nonpayable",
|
424
|
+
"type": "function"
|
425
|
+
},
|
426
|
+
{
|
427
|
+
"inputs": [],
|
428
|
+
"name": "lock",
|
429
|
+
"outputs": [],
|
430
|
+
"stateMutability": "nonpayable",
|
431
|
+
"type": "function"
|
432
|
+
},
|
372
433
|
{
|
373
434
|
"inputs": [
|
374
435
|
{
|
375
436
|
"internalType": "address",
|
376
|
-
"name": "
|
437
|
+
"name": "from",
|
377
438
|
"type": "address"
|
378
439
|
},
|
379
440
|
{
|
380
441
|
"internalType": "address",
|
381
|
-
"name": "
|
442
|
+
"name": "to",
|
382
443
|
"type": "address"
|
383
444
|
},
|
384
445
|
{
|
385
|
-
"internalType": "
|
386
|
-
"name": "
|
387
|
-
"type": "
|
446
|
+
"internalType": "uint256",
|
447
|
+
"name": "tokenId",
|
448
|
+
"type": "uint256"
|
388
449
|
}
|
389
450
|
],
|
390
|
-
"name": "
|
451
|
+
"name": "nftTransferFrom",
|
391
452
|
"outputs": [],
|
392
453
|
"stateMutability": "nonpayable",
|
393
454
|
"type": "function"
|
@@ -395,25 +456,25 @@
|
|
395
456
|
{
|
396
457
|
"inputs": [
|
397
458
|
{
|
398
|
-
"internalType": "
|
399
|
-
"name": "
|
400
|
-
"type": "
|
401
|
-
}
|
402
|
-
],
|
403
|
-
"name": "isInitialized",
|
404
|
-
"outputs": [
|
405
|
-
{
|
406
|
-
"internalType": "bool",
|
407
|
-
"name": "",
|
408
|
-
"type": "bool"
|
459
|
+
"internalType": "NftId",
|
460
|
+
"name": "productNftId",
|
461
|
+
"type": "uint96"
|
409
462
|
}
|
410
463
|
],
|
411
|
-
"
|
464
|
+
"name": "setProductNftId",
|
465
|
+
"outputs": [],
|
466
|
+
"stateMutability": "nonpayable",
|
412
467
|
"type": "function"
|
413
468
|
},
|
414
469
|
{
|
415
|
-
"inputs": [
|
416
|
-
|
470
|
+
"inputs": [
|
471
|
+
{
|
472
|
+
"internalType": "address",
|
473
|
+
"name": "walletAddress",
|
474
|
+
"type": "address"
|
475
|
+
}
|
476
|
+
],
|
477
|
+
"name": "setWallet",
|
417
478
|
"outputs": [],
|
418
479
|
"stateMutability": "nonpayable",
|
419
480
|
"type": "function"
|
@@ -438,24 +499,8 @@
|
|
438
499
|
"type": "function"
|
439
500
|
},
|
440
501
|
{
|
441
|
-
"inputs": [
|
442
|
-
|
443
|
-
"internalType": "address",
|
444
|
-
"name": "implementation",
|
445
|
-
"type": "address"
|
446
|
-
},
|
447
|
-
{
|
448
|
-
"internalType": "address",
|
449
|
-
"name": "activatedBy",
|
450
|
-
"type": "address"
|
451
|
-
},
|
452
|
-
{
|
453
|
-
"internalType": "bytes",
|
454
|
-
"name": "data",
|
455
|
-
"type": "bytes"
|
456
|
-
}
|
457
|
-
],
|
458
|
-
"name": "upgrade",
|
502
|
+
"inputs": [],
|
503
|
+
"name": "unlock",
|
459
504
|
"outputs": [],
|
460
505
|
"stateMutability": "nonpayable",
|
461
506
|
"type": "function"
|