@etherisc/gif-next 0.0.2-f2b0fa2-473 → 0.0.2-f2df3e2-873
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +75 -14
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +842 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +954 -219
- 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} +303 -164
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +848 -31
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +864 -49
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +682 -9
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +849 -247
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +637 -224
- 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 +2444 -184
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +368 -156
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +1033 -1216
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +593 -180
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +357 -211
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +653 -216
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +392 -75
- 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} +276 -150
- 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 +71 -45
- 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 +1060 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +681 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1266 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +725 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1040 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +685 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1774 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +793 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +627 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +686 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +602 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +804 -160
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +937 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +437 -154
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +90 -391
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1511 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +741 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1237 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +661 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +840 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +653 -0
- 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 +373 -61
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +223 -229
- 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 +333 -188
- 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 +227 -330
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +304 -138
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -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 +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +86 -172
- 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 +191 -163
- 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 +210 -214
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/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/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +185 -0
- 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 +179 -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 +40 -9
- 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 +209 -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 +38 -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 +22 -3
- package/contracts/components/Component.sol +253 -0
- package/contracts/components/Distribution.sol +204 -86
- package/contracts/components/IComponent.sol +76 -0
- package/contracts/components/IDistributionComponent.sol +44 -16
- package/contracts/components/IPoolComponent.sol +88 -37
- package/contracts/components/IProductComponent.sol +10 -5
- package/contracts/components/Pool.sol +224 -181
- package/contracts/components/Product.sol +249 -175
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/instance/BundleManager.sol +126 -0
- package/contracts/instance/Cloneable.sol +51 -0
- package/contracts/instance/IInstance.sol +88 -14
- package/contracts/instance/IInstanceService.sol +54 -3
- package/contracts/instance/Instance.sol +155 -281
- package/contracts/instance/InstanceAccessManager.sol +414 -175
- package/contracts/instance/InstanceReader.sol +67 -30
- package/contracts/instance/InstanceService.sol +431 -55
- package/contracts/instance/InstanceServiceManager.sol +11 -13
- package/contracts/instance/ObjectManager.sol +82 -0
- package/contracts/instance/base/ComponentService.sol +121 -0
- package/contracts/instance/base/KeyValueStore.sol +13 -5
- package/contracts/instance/base/Lifecycle.sol +23 -6
- package/contracts/instance/module/IAccess.sol +36 -20
- package/contracts/instance/module/IBundle.sol +8 -4
- package/contracts/instance/module/IComponents.sol +41 -0
- package/contracts/instance/module/IDistribution.sol +2 -0
- package/contracts/instance/module/IPolicy.sol +41 -9
- package/contracts/instance/module/ISetup.sol +9 -19
- package/contracts/instance/service/ApplicationService.sol +355 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +436 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ClaimService.sol +239 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +431 -0
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- package/contracts/instance/service/IApplicationService.sol +78 -0
- package/contracts/instance/service/IBundleService.sol +96 -0
- package/contracts/instance/service/IClaimService.sol +92 -0
- package/contracts/instance/service/IDistributionService.sol +87 -0
- package/contracts/instance/service/IPolicyService.sol +137 -0
- package/contracts/instance/service/IPoolService.sol +79 -17
- package/contracts/instance/service/IProductService.sol +6 -73
- package/contracts/instance/service/PolicyService.sol +541 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +303 -0
- package/contracts/instance/service/PoolServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +210 -0
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +9 -1
- package/contracts/registry/IRegistry.sol +52 -8
- package/contracts/registry/IRegistryService.sol +47 -14
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +270 -226
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +111 -268
- package/contracts/registry/RegistryServiceManager.sol +24 -26
- package/contracts/registry/ReleaseManager.sol +324 -0
- package/contracts/registry/TokenRegistry.sol +116 -0
- package/contracts/shared/ERC165.sol +14 -8
- 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 +5 -4
- 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 +100 -25
- package/contracts/shared/Registerable.sol +16 -31
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +42 -24
- 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/Amount.sol +65 -0
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +75 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/Fee.sol +13 -5
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/ObjectType.sol +11 -6
- package/contracts/types/PayoutId.sol +82 -0
- package/contracts/types/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +26 -11
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +11 -2
- package/contracts/types/Timestamp.sol +18 -13
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +5 -1
- 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 -314
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -267
- 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 -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/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/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
- package/contracts/components/BaseComponent.sol +0 -86
- package/contracts/components/IBaseComponent.sol +0 -24
- 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 -114
- package/contracts/instance/AccessManagerSimple.sol +0 -682
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/base/ComponentServiceBase.sol +0 -49
- 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,76 +1,167 @@
|
|
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": "authority",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "caller",
|
11
22
|
"type": "address"
|
12
23
|
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
35
|
+
{
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "caller",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "caller",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorComponentNotChainNft",
|
53
|
+
"type": "error"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [
|
13
57
|
{
|
14
58
|
"internalType": "NftId",
|
15
|
-
"name": "
|
59
|
+
"name": "instanceNftId",
|
16
60
|
"type": "uint96"
|
17
61
|
}
|
18
62
|
],
|
19
|
-
"name": "
|
63
|
+
"name": "ErrorComponentNotInstance",
|
20
64
|
"type": "error"
|
21
65
|
},
|
22
66
|
{
|
23
67
|
"inputs": [
|
24
68
|
{
|
25
69
|
"internalType": "address",
|
26
|
-
"name": "
|
70
|
+
"name": "caller",
|
27
71
|
"type": "address"
|
28
72
|
}
|
29
73
|
],
|
30
|
-
"name": "
|
74
|
+
"name": "ErrorComponentNotProductService",
|
75
|
+
"type": "error"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"inputs": [],
|
79
|
+
"name": "ErrorComponentProductNftAlreadySet",
|
80
|
+
"type": "error"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"inputs": [],
|
84
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
85
|
+
"type": "error"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"inputs": [],
|
89
|
+
"name": "ErrorComponentWalletAddressZero",
|
31
90
|
"type": "error"
|
32
91
|
},
|
33
92
|
{
|
34
93
|
"inputs": [
|
35
94
|
{
|
36
95
|
"internalType": "address",
|
37
|
-
"name": "
|
96
|
+
"name": "oldWallet",
|
97
|
+
"type": "address"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"internalType": "address",
|
101
|
+
"name": "newWallet",
|
38
102
|
"type": "address"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"internalType": "uint256",
|
106
|
+
"name": "allowance",
|
107
|
+
"type": "uint256"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"internalType": "uint256",
|
111
|
+
"name": "balance",
|
112
|
+
"type": "uint256"
|
39
113
|
}
|
40
114
|
],
|
41
|
-
"name": "
|
115
|
+
"name": "ErrorComponentWalletAllowanceTooSmall",
|
116
|
+
"type": "error"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"inputs": [
|
120
|
+
{
|
121
|
+
"internalType": "NftId",
|
122
|
+
"name": "nftId",
|
123
|
+
"type": "uint96"
|
124
|
+
}
|
125
|
+
],
|
126
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
42
127
|
"type": "error"
|
43
128
|
},
|
44
129
|
{
|
45
130
|
"inputs": [
|
46
131
|
{
|
47
132
|
"internalType": "address",
|
48
|
-
"name": "
|
133
|
+
"name": "contractAddress",
|
49
134
|
"type": "address"
|
50
135
|
}
|
51
136
|
],
|
52
|
-
"name": "
|
137
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
53
138
|
"type": "error"
|
54
139
|
},
|
55
140
|
{
|
56
141
|
"inputs": [],
|
57
|
-
"name": "
|
142
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
58
143
|
"type": "error"
|
59
144
|
},
|
60
145
|
{
|
61
146
|
"inputs": [
|
62
147
|
{
|
63
148
|
"internalType": "address",
|
64
|
-
"name": "
|
149
|
+
"name": "account",
|
65
150
|
"type": "address"
|
66
151
|
}
|
67
152
|
],
|
68
|
-
"name": "
|
153
|
+
"name": "ErrorNftOwnableNotOwner",
|
69
154
|
"type": "error"
|
70
155
|
},
|
71
156
|
{
|
72
|
-
"inputs": [
|
73
|
-
|
157
|
+
"inputs": [
|
158
|
+
{
|
159
|
+
"internalType": "address",
|
160
|
+
"name": "registryAddress",
|
161
|
+
"type": "address"
|
162
|
+
}
|
163
|
+
],
|
164
|
+
"name": "ErrorNotRegistry",
|
74
165
|
"type": "error"
|
75
166
|
},
|
76
167
|
{
|
@@ -78,26 +169,121 @@
|
|
78
169
|
"inputs": [
|
79
170
|
{
|
80
171
|
"indexed": false,
|
81
|
-
"internalType": "
|
82
|
-
"name": "
|
83
|
-
"type": "
|
172
|
+
"internalType": "address",
|
173
|
+
"name": "authority",
|
174
|
+
"type": "address"
|
175
|
+
}
|
176
|
+
],
|
177
|
+
"name": "AuthorityUpdated",
|
178
|
+
"type": "event"
|
179
|
+
},
|
180
|
+
{
|
181
|
+
"anonymous": false,
|
182
|
+
"inputs": [
|
183
|
+
{
|
184
|
+
"indexed": false,
|
185
|
+
"internalType": "address",
|
186
|
+
"name": "oldWallet",
|
187
|
+
"type": "address"
|
84
188
|
},
|
85
189
|
{
|
86
190
|
"indexed": false,
|
87
191
|
"internalType": "address",
|
88
|
-
"name": "
|
192
|
+
"name": "newWallet",
|
193
|
+
"type": "address"
|
194
|
+
}
|
195
|
+
],
|
196
|
+
"name": "LogComponentWalletAddressChanged",
|
197
|
+
"type": "event"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"anonymous": false,
|
201
|
+
"inputs": [
|
202
|
+
{
|
203
|
+
"indexed": false,
|
204
|
+
"internalType": "address",
|
205
|
+
"name": "from",
|
89
206
|
"type": "address"
|
90
207
|
},
|
91
208
|
{
|
92
209
|
"indexed": false,
|
93
210
|
"internalType": "address",
|
94
|
-
"name": "
|
211
|
+
"name": "to",
|
95
212
|
"type": "address"
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"indexed": false,
|
216
|
+
"internalType": "uint256",
|
217
|
+
"name": "amount",
|
218
|
+
"type": "uint256"
|
96
219
|
}
|
97
220
|
],
|
98
|
-
"name": "
|
221
|
+
"name": "LogComponentWalletTokensTransferred",
|
99
222
|
"type": "event"
|
100
223
|
},
|
224
|
+
{
|
225
|
+
"inputs": [],
|
226
|
+
"name": "authority",
|
227
|
+
"outputs": [
|
228
|
+
{
|
229
|
+
"internalType": "address",
|
230
|
+
"name": "",
|
231
|
+
"type": "address"
|
232
|
+
}
|
233
|
+
],
|
234
|
+
"stateMutability": "view",
|
235
|
+
"type": "function"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"inputs": [],
|
239
|
+
"name": "getComponentInfo",
|
240
|
+
"outputs": [
|
241
|
+
{
|
242
|
+
"components": [
|
243
|
+
{
|
244
|
+
"internalType": "string",
|
245
|
+
"name": "name",
|
246
|
+
"type": "string"
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"internalType": "contract IERC20Metadata",
|
250
|
+
"name": "token",
|
251
|
+
"type": "address"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"internalType": "contract TokenHandler",
|
255
|
+
"name": "tokenHandler",
|
256
|
+
"type": "address"
|
257
|
+
},
|
258
|
+
{
|
259
|
+
"internalType": "address",
|
260
|
+
"name": "wallet",
|
261
|
+
"type": "address"
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"internalType": "Amount",
|
265
|
+
"name": "balanceAmount",
|
266
|
+
"type": "uint96"
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"internalType": "Amount",
|
270
|
+
"name": "feeAmount",
|
271
|
+
"type": "uint96"
|
272
|
+
},
|
273
|
+
{
|
274
|
+
"internalType": "bytes",
|
275
|
+
"name": "data",
|
276
|
+
"type": "bytes"
|
277
|
+
}
|
278
|
+
],
|
279
|
+
"internalType": "struct IComponents.ComponentInfo",
|
280
|
+
"name": "info",
|
281
|
+
"type": "tuple"
|
282
|
+
}
|
283
|
+
],
|
284
|
+
"stateMutability": "view",
|
285
|
+
"type": "function"
|
286
|
+
},
|
101
287
|
{
|
102
288
|
"inputs": [],
|
103
289
|
"name": "getInitialInfo",
|
@@ -143,24 +329,6 @@
|
|
143
329
|
"internalType": "struct IRegistry.ObjectInfo",
|
144
330
|
"name": "",
|
145
331
|
"type": "tuple"
|
146
|
-
},
|
147
|
-
{
|
148
|
-
"internalType": "bytes",
|
149
|
-
"name": "data",
|
150
|
-
"type": "bytes"
|
151
|
-
}
|
152
|
-
],
|
153
|
-
"stateMutability": "view",
|
154
|
-
"type": "function"
|
155
|
-
},
|
156
|
-
{
|
157
|
-
"inputs": [],
|
158
|
-
"name": "getInitializedVersion",
|
159
|
-
"outputs": [
|
160
|
-
{
|
161
|
-
"internalType": "uint64",
|
162
|
-
"name": "",
|
163
|
-
"type": "uint64"
|
164
332
|
}
|
165
333
|
],
|
166
334
|
"stateMutability": "view",
|
@@ -168,12 +336,12 @@
|
|
168
336
|
},
|
169
337
|
{
|
170
338
|
"inputs": [],
|
171
|
-
"name": "
|
339
|
+
"name": "getInstance",
|
172
340
|
"outputs": [
|
173
341
|
{
|
174
|
-
"internalType": "
|
175
|
-
"name": "
|
176
|
-
"type": "
|
342
|
+
"internalType": "contract IInstance",
|
343
|
+
"name": "instance",
|
344
|
+
"type": "address"
|
177
345
|
}
|
178
346
|
],
|
179
347
|
"stateMutability": "view",
|
@@ -189,7 +357,7 @@
|
|
189
357
|
"type": "string"
|
190
358
|
}
|
191
359
|
],
|
192
|
-
"stateMutability": "
|
360
|
+
"stateMutability": "view",
|
193
361
|
"type": "function"
|
194
362
|
},
|
195
363
|
{
|
@@ -218,6 +386,19 @@
|
|
218
386
|
"stateMutability": "view",
|
219
387
|
"type": "function"
|
220
388
|
},
|
389
|
+
{
|
390
|
+
"inputs": [],
|
391
|
+
"name": "getProductNftId",
|
392
|
+
"outputs": [
|
393
|
+
{
|
394
|
+
"internalType": "NftId",
|
395
|
+
"name": "productNftId",
|
396
|
+
"type": "uint96"
|
397
|
+
}
|
398
|
+
],
|
399
|
+
"stateMutability": "view",
|
400
|
+
"type": "function"
|
401
|
+
},
|
221
402
|
{
|
222
403
|
"inputs": [],
|
223
404
|
"name": "getRegistry",
|
@@ -232,51 +413,52 @@
|
|
232
413
|
"type": "function"
|
233
414
|
},
|
234
415
|
{
|
235
|
-
"inputs": [
|
236
|
-
|
237
|
-
"internalType": "ObjectType",
|
238
|
-
"name": "cType",
|
239
|
-
"type": "uint8"
|
240
|
-
}
|
241
|
-
],
|
242
|
-
"name": "getRoleForType",
|
416
|
+
"inputs": [],
|
417
|
+
"name": "getRegistryAddress",
|
243
418
|
"outputs": [
|
244
419
|
{
|
245
|
-
"internalType": "
|
246
|
-
"name": "
|
247
|
-
"type": "
|
420
|
+
"internalType": "address",
|
421
|
+
"name": "",
|
422
|
+
"type": "address"
|
248
423
|
}
|
249
424
|
],
|
250
|
-
"stateMutability": "
|
425
|
+
"stateMutability": "view",
|
251
426
|
"type": "function"
|
252
427
|
},
|
253
428
|
{
|
254
429
|
"inputs": [],
|
255
|
-
"name": "
|
430
|
+
"name": "getToken",
|
256
431
|
"outputs": [
|
257
432
|
{
|
258
|
-
"internalType": "
|
259
|
-
"name": "",
|
260
|
-
"type": "
|
433
|
+
"internalType": "contract IERC20Metadata",
|
434
|
+
"name": "token",
|
435
|
+
"type": "address"
|
261
436
|
}
|
262
437
|
],
|
263
|
-
"stateMutability": "
|
438
|
+
"stateMutability": "view",
|
264
439
|
"type": "function"
|
265
440
|
},
|
266
441
|
{
|
267
|
-
"inputs": [
|
442
|
+
"inputs": [],
|
443
|
+
"name": "getWallet",
|
444
|
+
"outputs": [
|
268
445
|
{
|
269
|
-
"internalType": "
|
270
|
-
"name": "
|
271
|
-
"type": "
|
446
|
+
"internalType": "address",
|
447
|
+
"name": "walletAddress",
|
448
|
+
"type": "address"
|
272
449
|
}
|
273
450
|
],
|
274
|
-
"
|
451
|
+
"stateMutability": "view",
|
452
|
+
"type": "function"
|
453
|
+
},
|
454
|
+
{
|
455
|
+
"inputs": [],
|
456
|
+
"name": "isConsumingScheduledOp",
|
275
457
|
"outputs": [
|
276
458
|
{
|
277
|
-
"internalType": "
|
278
|
-
"name": "
|
279
|
-
"type": "
|
459
|
+
"internalType": "bytes4",
|
460
|
+
"name": "",
|
461
|
+
"type": "bytes4"
|
280
462
|
}
|
281
463
|
],
|
282
464
|
"stateMutability": "view",
|
@@ -284,82 +466,68 @@
|
|
284
466
|
},
|
285
467
|
{
|
286
468
|
"inputs": [],
|
287
|
-
"name": "
|
469
|
+
"name": "isNftInterceptor",
|
288
470
|
"outputs": [
|
289
471
|
{
|
290
|
-
"internalType": "
|
291
|
-
"name": "
|
292
|
-
"type": "
|
472
|
+
"internalType": "bool",
|
473
|
+
"name": "isInterceptor",
|
474
|
+
"type": "bool"
|
293
475
|
}
|
294
476
|
],
|
295
477
|
"stateMutability": "view",
|
296
478
|
"type": "function"
|
297
479
|
},
|
480
|
+
{
|
481
|
+
"inputs": [],
|
482
|
+
"name": "linkToRegisteredNftId",
|
483
|
+
"outputs": [],
|
484
|
+
"stateMutability": "nonpayable",
|
485
|
+
"type": "function"
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"inputs": [],
|
489
|
+
"name": "lock",
|
490
|
+
"outputs": [],
|
491
|
+
"stateMutability": "nonpayable",
|
492
|
+
"type": "function"
|
493
|
+
},
|
298
494
|
{
|
299
495
|
"inputs": [
|
300
496
|
{
|
301
|
-
"internalType": "
|
302
|
-
"name": "
|
303
|
-
"type": "
|
304
|
-
}
|
305
|
-
],
|
306
|
-
"name": "getVersionInfo",
|
307
|
-
"outputs": [
|
497
|
+
"internalType": "address",
|
498
|
+
"name": "to",
|
499
|
+
"type": "address"
|
500
|
+
},
|
308
501
|
{
|
309
|
-
"
|
310
|
-
|
311
|
-
|
312
|
-
"name": "version",
|
313
|
-
"type": "uint24"
|
314
|
-
},
|
315
|
-
{
|
316
|
-
"internalType": "address",
|
317
|
-
"name": "implementation",
|
318
|
-
"type": "address"
|
319
|
-
},
|
320
|
-
{
|
321
|
-
"internalType": "address",
|
322
|
-
"name": "activatedBy",
|
323
|
-
"type": "address"
|
324
|
-
},
|
325
|
-
{
|
326
|
-
"internalType": "Timestamp",
|
327
|
-
"name": "activatedAt",
|
328
|
-
"type": "uint40"
|
329
|
-
},
|
330
|
-
{
|
331
|
-
"internalType": "Blocknumber",
|
332
|
-
"name": "activatedIn",
|
333
|
-
"type": "uint32"
|
334
|
-
}
|
335
|
-
],
|
336
|
-
"internalType": "struct IVersionable.VersionInfo",
|
337
|
-
"name": "versionInfo",
|
338
|
-
"type": "tuple"
|
502
|
+
"internalType": "uint256",
|
503
|
+
"name": "tokenId",
|
504
|
+
"type": "uint256"
|
339
505
|
}
|
340
506
|
],
|
341
|
-
"
|
507
|
+
"name": "nftMint",
|
508
|
+
"outputs": [],
|
509
|
+
"stateMutability": "nonpayable",
|
342
510
|
"type": "function"
|
343
511
|
},
|
344
512
|
{
|
345
513
|
"inputs": [
|
346
514
|
{
|
347
515
|
"internalType": "address",
|
348
|
-
"name": "
|
516
|
+
"name": "from",
|
349
517
|
"type": "address"
|
350
518
|
},
|
351
519
|
{
|
352
520
|
"internalType": "address",
|
353
|
-
"name": "
|
521
|
+
"name": "to",
|
354
522
|
"type": "address"
|
355
523
|
},
|
356
524
|
{
|
357
|
-
"internalType": "
|
358
|
-
"name": "
|
359
|
-
"type": "
|
525
|
+
"internalType": "uint256",
|
526
|
+
"name": "tokenId",
|
527
|
+
"type": "uint256"
|
360
528
|
}
|
361
529
|
],
|
362
|
-
"name": "
|
530
|
+
"name": "nftTransferFrom",
|
363
531
|
"outputs": [],
|
364
532
|
"stateMutability": "nonpayable",
|
365
533
|
"type": "function"
|
@@ -367,25 +535,25 @@
|
|
367
535
|
{
|
368
536
|
"inputs": [
|
369
537
|
{
|
370
|
-
"internalType": "
|
371
|
-
"name": "version",
|
372
|
-
"type": "uint24"
|
373
|
-
}
|
374
|
-
],
|
375
|
-
"name": "isInitialized",
|
376
|
-
"outputs": [
|
377
|
-
{
|
378
|
-
"internalType": "bool",
|
538
|
+
"internalType": "address",
|
379
539
|
"name": "",
|
380
|
-
"type": "
|
540
|
+
"type": "address"
|
381
541
|
}
|
382
542
|
],
|
383
|
-
"
|
543
|
+
"name": "setAuthority",
|
544
|
+
"outputs": [],
|
545
|
+
"stateMutability": "nonpayable",
|
384
546
|
"type": "function"
|
385
547
|
},
|
386
548
|
{
|
387
|
-
"inputs": [
|
388
|
-
|
549
|
+
"inputs": [
|
550
|
+
{
|
551
|
+
"internalType": "NftId",
|
552
|
+
"name": "productNftId",
|
553
|
+
"type": "uint96"
|
554
|
+
}
|
555
|
+
],
|
556
|
+
"name": "setProductNftId",
|
389
557
|
"outputs": [],
|
390
558
|
"stateMutability": "nonpayable",
|
391
559
|
"type": "function"
|
@@ -393,12 +561,12 @@
|
|
393
561
|
{
|
394
562
|
"inputs": [
|
395
563
|
{
|
396
|
-
"internalType": "
|
397
|
-
"name": "
|
564
|
+
"internalType": "address",
|
565
|
+
"name": "walletAddress",
|
398
566
|
"type": "address"
|
399
567
|
}
|
400
568
|
],
|
401
|
-
"name": "
|
569
|
+
"name": "setWallet",
|
402
570
|
"outputs": [],
|
403
571
|
"stateMutability": "nonpayable",
|
404
572
|
"type": "function"
|
@@ -423,40 +591,11 @@
|
|
423
591
|
"type": "function"
|
424
592
|
},
|
425
593
|
{
|
426
|
-
"inputs": [
|
427
|
-
{
|
428
|
-
"internalType": "contract IBaseComponent",
|
429
|
-
"name": "component",
|
430
|
-
"type": "address"
|
431
|
-
}
|
432
|
-
],
|
594
|
+
"inputs": [],
|
433
595
|
"name": "unlock",
|
434
596
|
"outputs": [],
|
435
597
|
"stateMutability": "nonpayable",
|
436
598
|
"type": "function"
|
437
|
-
},
|
438
|
-
{
|
439
|
-
"inputs": [
|
440
|
-
{
|
441
|
-
"internalType": "address",
|
442
|
-
"name": "implementation",
|
443
|
-
"type": "address"
|
444
|
-
},
|
445
|
-
{
|
446
|
-
"internalType": "address",
|
447
|
-
"name": "activatedBy",
|
448
|
-
"type": "address"
|
449
|
-
},
|
450
|
-
{
|
451
|
-
"internalType": "bytes",
|
452
|
-
"name": "upgradeData",
|
453
|
-
"type": "bytes"
|
454
|
-
}
|
455
|
-
],
|
456
|
-
"name": "upgrade",
|
457
|
-
"outputs": [],
|
458
|
-
"stateMutability": "nonpayable",
|
459
|
-
"type": "function"
|
460
599
|
}
|
461
600
|
],
|
462
601
|
"bytecode": "0x",
|