@etherisc/gif-next 0.0.2-cff6256-424 → 0.0.2-d086e6d-456
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +141 -2
- 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 +897 -238
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → components/IComponent.sol/IComponent.json} +295 -132
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +801 -36
- 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 +844 -258
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +626 -234
- 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 +2107 -184
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +334 -157
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +979 -1206
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +571 -177
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +227 -221
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +529 -233
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +324 -91
- 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} +298 -137
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +69 -43
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1058 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1258 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +717 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +844 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1405 -224
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +451 -74
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +646 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +683 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +227 -194
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +791 -134
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +630 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +450 -143
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +96 -373
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1111 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1264 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +657 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +867 -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 +15 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +227 -224
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +243 -206
- 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 +241 -330
- 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 +235 -295
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +295 -150
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +95 -157
- 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 +195 -148
- 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 +213 -202
- 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 +161 -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 +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 +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 +100 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
- package/contracts/components/Component.sol +253 -0
- package/contracts/components/Distribution.sol +197 -83
- package/contracts/components/IComponent.sol +76 -0
- package/contracts/components/IDistributionComponent.sol +43 -18
- package/contracts/components/IPoolComponent.sol +88 -37
- package/contracts/components/IProductComponent.sol +10 -5
- package/contracts/components/Pool.sol +225 -180
- package/contracts/components/Product.sol +130 -134
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/instance/BundleManager.sol +127 -0
- package/contracts/instance/Cloneable.sol +51 -0
- package/contracts/instance/IInstance.sol +77 -12
- package/contracts/instance/IInstanceService.sol +47 -5
- package/contracts/instance/Instance.sol +152 -268
- package/contracts/instance/InstanceAccessManager.sol +410 -176
- package/contracts/instance/InstanceReader.sol +36 -35
- package/contracts/instance/InstanceService.sol +429 -92
- package/contracts/instance/InstanceServiceManager.sol +11 -13
- package/contracts/instance/ObjectManager.sol +82 -0
- package/contracts/instance/base/ComponentService.sol +136 -0
- package/contracts/instance/base/KeyValueStore.sol +13 -5
- package/contracts/instance/base/Lifecycle.sol +11 -2
- 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 +30 -3
- package/contracts/instance/module/ISetup.sol +9 -19
- package/contracts/instance/service/ApplicationService.sol +350 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +431 -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 +378 -39
- package/contracts/instance/service/DistributionServiceManager.sol +11 -13
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +93 -0
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +86 -0
- package/contracts/instance/service/IPolicyService.sol +72 -0
- package/contracts/instance/service/IPoolService.sol +79 -17
- package/contracts/instance/service/IProductService.sol +6 -73
- package/contracts/instance/service/PolicyService.sol +360 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +343 -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 +40 -33
- package/contracts/registry/IRegistryService.sol +48 -13
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +234 -256
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +117 -231
- package/contracts/registry/RegistryServiceManager.sol +21 -39
- package/contracts/registry/ReleaseManager.sol +322 -0
- package/contracts/registry/TokenRegistry.sol +22 -17
- package/contracts/shared/ERC165.sol +14 -12
- package/contracts/shared/INftOwnable.sol +11 -10
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +8 -2
- 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 -32
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +31 -22
- package/contracts/shared/TokenHandler.sol +11 -5
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +4 -3
- package/contracts/types/Amount.sol +60 -0
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/Fee.sol +13 -5
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/ObjectType.sol +10 -5
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +26 -17
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +1 -0
- package/contracts/types/Timestamp.sol +13 -13
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +1 -0
- package/package.json +3 -3
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -91
- package/contracts/components/IBaseComponent.sol +0 -25
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/AccessManagedSimple.sol +0 -115
- package/contracts/instance/AccessManagerSimple.sol +0 -692
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/base/ComponentServiceBase.sol +0 -39
- 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
@@ -7,70 +7,269 @@
|
|
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": "ErrorIServiceCallerUnknown",
|
53
|
+
"type": "error"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [],
|
57
|
+
"name": "ErrorInstanceServiceBundleManagerAuthorityMismatch",
|
58
|
+
"type": "error"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"inputs": [],
|
62
|
+
"name": "ErrorInstanceServiceBundleManagerZero",
|
63
|
+
"type": "error"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"inputs": [],
|
67
|
+
"name": "ErrorInstanceServiceBundleMangerInstanceMismatch",
|
68
|
+
"type": "error"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"inputs": [
|
72
|
+
{
|
73
|
+
"internalType": "address",
|
74
|
+
"name": "componentAddress",
|
75
|
+
"type": "address"
|
76
|
+
}
|
77
|
+
],
|
78
|
+
"name": "ErrorInstanceServiceComponentNotRegistered",
|
79
|
+
"type": "error"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"inputs": [],
|
83
|
+
"name": "ErrorInstanceServiceInstanceAccessManagerZero",
|
84
|
+
"type": "error"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"inputs": [],
|
88
|
+
"name": "ErrorInstanceServiceInstanceAddressZero",
|
89
|
+
"type": "error"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"inputs": [],
|
93
|
+
"name": "ErrorInstanceServiceInstanceAuthorityMismatch",
|
94
|
+
"type": "error"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"inputs": [
|
98
|
+
{
|
99
|
+
"internalType": "NftId",
|
100
|
+
"name": "instanceNftId",
|
101
|
+
"type": "uint96"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"internalType": "NftId",
|
105
|
+
"name": "componentNftId",
|
106
|
+
"type": "uint96"
|
107
|
+
}
|
108
|
+
],
|
109
|
+
"name": "ErrorInstanceServiceInstanceComponentMismatch",
|
110
|
+
"type": "error"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"inputs": [],
|
114
|
+
"name": "ErrorInstanceServiceInstanceReaderAddressZero",
|
115
|
+
"type": "error"
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"inputs": [],
|
119
|
+
"name": "ErrorInstanceServiceInstanceReaderInstanceMismatch",
|
120
|
+
"type": "error"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"inputs": [],
|
124
|
+
"name": "ErrorInstanceServiceInstanceReaderInstanceMismatch2",
|
125
|
+
"type": "error"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"inputs": [],
|
129
|
+
"name": "ErrorInstanceServiceInstanceReaderSameAsMasterInstanceReader",
|
130
|
+
"type": "error"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"inputs": [],
|
134
|
+
"name": "ErrorInstanceServiceInstanceReaderZero",
|
135
|
+
"type": "error"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"inputs": [
|
139
|
+
{
|
140
|
+
"internalType": "address",
|
141
|
+
"name": "componentAddress",
|
142
|
+
"type": "address"
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"internalType": "ObjectType",
|
146
|
+
"name": "expectedType",
|
147
|
+
"type": "uint8"
|
148
|
+
},
|
149
|
+
{
|
150
|
+
"internalType": "ObjectType",
|
151
|
+
"name": "componentType",
|
152
|
+
"type": "uint8"
|
153
|
+
}
|
154
|
+
],
|
155
|
+
"name": "ErrorInstanceServiceInvalidComponentType",
|
156
|
+
"type": "error"
|
157
|
+
},
|
158
|
+
{
|
159
|
+
"inputs": [],
|
160
|
+
"name": "ErrorInstanceServiceMasterBundleManagerAlreadySet",
|
161
|
+
"type": "error"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"inputs": [],
|
165
|
+
"name": "ErrorInstanceServiceMasterInstanceAccessManagerAlreadySet",
|
166
|
+
"type": "error"
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"inputs": [],
|
170
|
+
"name": "ErrorInstanceServiceMasterInstanceAlreadySet",
|
171
|
+
"type": "error"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"inputs": [],
|
175
|
+
"name": "ErrorInstanceServiceMasterInstanceReaderNotSet",
|
176
|
+
"type": "error"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"inputs": [],
|
180
|
+
"name": "ErrorInstanceServiceMasterOzAccessManagerAlreadySet",
|
181
|
+
"type": "error"
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"inputs": [
|
13
185
|
{
|
14
186
|
"internalType": "NftId",
|
15
187
|
"name": "nftId",
|
16
188
|
"type": "uint96"
|
17
189
|
}
|
18
190
|
],
|
19
|
-
"name": "
|
191
|
+
"name": "ErrorInstanceServiceNotInstance",
|
20
192
|
"type": "error"
|
21
193
|
},
|
22
194
|
{
|
23
195
|
"inputs": [
|
24
196
|
{
|
25
197
|
"internalType": "address",
|
26
|
-
"name": "
|
198
|
+
"name": "caller",
|
27
199
|
"type": "address"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"internalType": "NftId",
|
203
|
+
"name": "instanceNftId",
|
204
|
+
"type": "uint96"
|
28
205
|
}
|
29
206
|
],
|
30
|
-
"name": "
|
207
|
+
"name": "ErrorInstanceServiceNotInstanceOwner",
|
208
|
+
"type": "error"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"inputs": [],
|
212
|
+
"name": "ErrorInstanceServiceOzAccessManagerZero",
|
31
213
|
"type": "error"
|
32
214
|
},
|
33
215
|
{
|
34
216
|
"inputs": [
|
35
217
|
{
|
36
218
|
"internalType": "address",
|
37
|
-
"name": "
|
219
|
+
"name": "caller",
|
38
220
|
"type": "address"
|
39
221
|
}
|
40
222
|
],
|
41
|
-
"name": "
|
223
|
+
"name": "ErrorInstanceServiceRequestUnauhorized",
|
224
|
+
"type": "error"
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"inputs": [
|
228
|
+
{
|
229
|
+
"internalType": "NftId",
|
230
|
+
"name": "nftId",
|
231
|
+
"type": "uint96"
|
232
|
+
}
|
233
|
+
],
|
234
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
42
235
|
"type": "error"
|
43
236
|
},
|
44
237
|
{
|
45
238
|
"inputs": [
|
46
239
|
{
|
47
240
|
"internalType": "address",
|
48
|
-
"name": "
|
241
|
+
"name": "contractAddress",
|
49
242
|
"type": "address"
|
50
243
|
}
|
51
244
|
],
|
52
|
-
"name": "
|
245
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
53
246
|
"type": "error"
|
54
247
|
},
|
55
248
|
{
|
56
249
|
"inputs": [],
|
57
|
-
"name": "
|
250
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
58
251
|
"type": "error"
|
59
252
|
},
|
60
253
|
{
|
61
254
|
"inputs": [
|
62
255
|
{
|
63
256
|
"internalType": "address",
|
64
|
-
"name": "
|
257
|
+
"name": "account",
|
65
258
|
"type": "address"
|
66
259
|
}
|
67
260
|
],
|
68
|
-
"name": "
|
261
|
+
"name": "ErrorNftOwnableNotOwner",
|
69
262
|
"type": "error"
|
70
263
|
},
|
71
264
|
{
|
72
|
-
"inputs": [
|
73
|
-
|
265
|
+
"inputs": [
|
266
|
+
{
|
267
|
+
"internalType": "address",
|
268
|
+
"name": "registryAddress",
|
269
|
+
"type": "address"
|
270
|
+
}
|
271
|
+
],
|
272
|
+
"name": "ErrorNotRegistry",
|
74
273
|
"type": "error"
|
75
274
|
},
|
76
275
|
{
|
@@ -79,19 +278,44 @@
|
|
79
278
|
{
|
80
279
|
"indexed": false,
|
81
280
|
"internalType": "address",
|
82
|
-
"name": "
|
281
|
+
"name": "authority",
|
282
|
+
"type": "address"
|
283
|
+
}
|
284
|
+
],
|
285
|
+
"name": "AuthorityUpdated",
|
286
|
+
"type": "event"
|
287
|
+
},
|
288
|
+
{
|
289
|
+
"anonymous": false,
|
290
|
+
"inputs": [
|
291
|
+
{
|
292
|
+
"indexed": false,
|
293
|
+
"internalType": "address",
|
294
|
+
"name": "clonedOzAccessManager",
|
83
295
|
"type": "address"
|
84
296
|
},
|
85
297
|
{
|
86
298
|
"indexed": false,
|
87
299
|
"internalType": "address",
|
88
|
-
"name": "
|
300
|
+
"name": "clonedInstanceAccessManager",
|
89
301
|
"type": "address"
|
90
302
|
},
|
91
303
|
{
|
92
304
|
"indexed": false,
|
93
305
|
"internalType": "address",
|
94
|
-
"name": "
|
306
|
+
"name": "clonedInstance",
|
307
|
+
"type": "address"
|
308
|
+
},
|
309
|
+
{
|
310
|
+
"indexed": false,
|
311
|
+
"internalType": "address",
|
312
|
+
"name": "clonedBundleManager",
|
313
|
+
"type": "address"
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"indexed": false,
|
317
|
+
"internalType": "address",
|
318
|
+
"name": "clonedInstanceReader",
|
95
319
|
"type": "address"
|
96
320
|
},
|
97
321
|
{
|
@@ -105,37 +329,63 @@
|
|
105
329
|
"type": "event"
|
106
330
|
},
|
107
331
|
{
|
108
|
-
"
|
332
|
+
"inputs": [],
|
333
|
+
"name": "authority",
|
334
|
+
"outputs": [
|
335
|
+
{
|
336
|
+
"internalType": "address",
|
337
|
+
"name": "",
|
338
|
+
"type": "address"
|
339
|
+
}
|
340
|
+
],
|
341
|
+
"stateMutability": "view",
|
342
|
+
"type": "function"
|
343
|
+
},
|
344
|
+
{
|
109
345
|
"inputs": [
|
110
346
|
{
|
111
|
-
"
|
112
|
-
"
|
113
|
-
"
|
114
|
-
"type": "uint24"
|
347
|
+
"internalType": "NftId",
|
348
|
+
"name": "instanceNftId",
|
349
|
+
"type": "uint96"
|
115
350
|
},
|
116
351
|
{
|
117
|
-
"indexed": false,
|
118
352
|
"internalType": "address",
|
119
|
-
"name": "
|
353
|
+
"name": "targetAddress",
|
120
354
|
"type": "address"
|
121
355
|
},
|
122
356
|
{
|
123
|
-
"
|
124
|
-
"
|
125
|
-
"
|
126
|
-
|
357
|
+
"internalType": "string",
|
358
|
+
"name": "targetName",
|
359
|
+
"type": "string"
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"internalType": "bytes4[][]",
|
363
|
+
"name": "selectors",
|
364
|
+
"type": "bytes4[][]"
|
365
|
+
},
|
366
|
+
{
|
367
|
+
"internalType": "RoleId[]",
|
368
|
+
"name": "roles",
|
369
|
+
"type": "uint64[]"
|
127
370
|
}
|
128
371
|
],
|
129
|
-
"name": "
|
130
|
-
"
|
372
|
+
"name": "createGifTarget",
|
373
|
+
"outputs": [],
|
374
|
+
"stateMutability": "nonpayable",
|
375
|
+
"type": "function"
|
131
376
|
},
|
132
377
|
{
|
133
378
|
"inputs": [],
|
134
379
|
"name": "createInstanceClone",
|
135
380
|
"outputs": [
|
136
381
|
{
|
137
|
-
"internalType": "contract
|
138
|
-
"name": "
|
382
|
+
"internalType": "contract AccessManagerUpgradeableInitializeable",
|
383
|
+
"name": "clonedOzAccessManager",
|
384
|
+
"type": "address"
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"internalType": "contract InstanceAccessManager",
|
388
|
+
"name": "clonedInstanceAccessManager",
|
139
389
|
"type": "address"
|
140
390
|
},
|
141
391
|
{
|
@@ -152,11 +402,29 @@
|
|
152
402
|
"internalType": "contract InstanceReader",
|
153
403
|
"name": "clonedInstanceReader",
|
154
404
|
"type": "address"
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"internalType": "contract BundleManager",
|
408
|
+
"name": "clonedBundleManager",
|
409
|
+
"type": "address"
|
155
410
|
}
|
156
411
|
],
|
157
412
|
"stateMutability": "nonpayable",
|
158
413
|
"type": "function"
|
159
414
|
},
|
415
|
+
{
|
416
|
+
"inputs": [],
|
417
|
+
"name": "getDomain",
|
418
|
+
"outputs": [
|
419
|
+
{
|
420
|
+
"internalType": "ObjectType",
|
421
|
+
"name": "serviceDomain",
|
422
|
+
"type": "uint8"
|
423
|
+
}
|
424
|
+
],
|
425
|
+
"stateMutability": "pure",
|
426
|
+
"type": "function"
|
427
|
+
},
|
160
428
|
{
|
161
429
|
"inputs": [],
|
162
430
|
"name": "getInitialInfo",
|
@@ -202,24 +470,6 @@
|
|
202
470
|
"internalType": "struct IRegistry.ObjectInfo",
|
203
471
|
"name": "",
|
204
472
|
"type": "tuple"
|
205
|
-
},
|
206
|
-
{
|
207
|
-
"internalType": "bytes",
|
208
|
-
"name": "data",
|
209
|
-
"type": "bytes"
|
210
|
-
}
|
211
|
-
],
|
212
|
-
"stateMutability": "view",
|
213
|
-
"type": "function"
|
214
|
-
},
|
215
|
-
{
|
216
|
-
"inputs": [],
|
217
|
-
"name": "getInitializedVersion",
|
218
|
-
"outputs": [
|
219
|
-
{
|
220
|
-
"internalType": "uint64",
|
221
|
-
"name": "",
|
222
|
-
"type": "uint64"
|
223
473
|
}
|
224
474
|
],
|
225
475
|
"stateMutability": "view",
|
@@ -240,25 +490,25 @@
|
|
240
490
|
},
|
241
491
|
{
|
242
492
|
"inputs": [],
|
243
|
-
"name": "
|
493
|
+
"name": "getNftId",
|
244
494
|
"outputs": [
|
245
495
|
{
|
246
|
-
"internalType": "
|
247
|
-
"name": "
|
248
|
-
"type": "
|
496
|
+
"internalType": "NftId",
|
497
|
+
"name": "",
|
498
|
+
"type": "uint96"
|
249
499
|
}
|
250
500
|
],
|
251
|
-
"stateMutability": "
|
501
|
+
"stateMutability": "view",
|
252
502
|
"type": "function"
|
253
503
|
},
|
254
504
|
{
|
255
505
|
"inputs": [],
|
256
|
-
"name": "
|
506
|
+
"name": "getOwner",
|
257
507
|
"outputs": [
|
258
508
|
{
|
259
|
-
"internalType": "
|
509
|
+
"internalType": "address",
|
260
510
|
"name": "",
|
261
|
-
"type": "
|
511
|
+
"type": "address"
|
262
512
|
}
|
263
513
|
],
|
264
514
|
"stateMutability": "view",
|
@@ -266,10 +516,10 @@
|
|
266
516
|
},
|
267
517
|
{
|
268
518
|
"inputs": [],
|
269
|
-
"name": "
|
519
|
+
"name": "getRegistry",
|
270
520
|
"outputs": [
|
271
521
|
{
|
272
|
-
"internalType": "
|
522
|
+
"internalType": "contract IRegistry",
|
273
523
|
"name": "",
|
274
524
|
"type": "address"
|
275
525
|
}
|
@@ -279,10 +529,10 @@
|
|
279
529
|
},
|
280
530
|
{
|
281
531
|
"inputs": [],
|
282
|
-
"name": "
|
532
|
+
"name": "getRegistryAddress",
|
283
533
|
"outputs": [
|
284
534
|
{
|
285
|
-
"internalType": "
|
535
|
+
"internalType": "address",
|
286
536
|
"name": "",
|
287
537
|
"type": "address"
|
288
538
|
}
|
@@ -306,126 +556,63 @@
|
|
306
556
|
{
|
307
557
|
"inputs": [
|
308
558
|
{
|
309
|
-
"internalType": "
|
310
|
-
"name": "
|
311
|
-
"type": "
|
312
|
-
}
|
313
|
-
],
|
314
|
-
"name": "getVersion",
|
315
|
-
"outputs": [
|
559
|
+
"internalType": "address",
|
560
|
+
"name": "activatedBy",
|
561
|
+
"type": "address"
|
562
|
+
},
|
316
563
|
{
|
317
|
-
"internalType": "
|
318
|
-
"name": "
|
319
|
-
"type": "
|
564
|
+
"internalType": "bytes",
|
565
|
+
"name": "activationData",
|
566
|
+
"type": "bytes"
|
320
567
|
}
|
321
568
|
],
|
322
|
-
"
|
569
|
+
"name": "initializeVersionable",
|
570
|
+
"outputs": [],
|
571
|
+
"stateMutability": "nonpayable",
|
323
572
|
"type": "function"
|
324
573
|
},
|
325
574
|
{
|
326
575
|
"inputs": [],
|
327
|
-
"name": "
|
576
|
+
"name": "isConsumingScheduledOp",
|
328
577
|
"outputs": [
|
329
578
|
{
|
330
|
-
"internalType": "
|
331
|
-
"name": "
|
332
|
-
"type": "
|
579
|
+
"internalType": "bytes4",
|
580
|
+
"name": "",
|
581
|
+
"type": "bytes4"
|
333
582
|
}
|
334
583
|
],
|
335
584
|
"stateMutability": "view",
|
336
585
|
"type": "function"
|
337
586
|
},
|
338
587
|
{
|
339
|
-
"inputs": [
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
"type": "uint24"
|
344
|
-
}
|
345
|
-
],
|
346
|
-
"name": "getVersionInfo",
|
347
|
-
"outputs": [
|
348
|
-
{
|
349
|
-
"components": [
|
350
|
-
{
|
351
|
-
"internalType": "Version",
|
352
|
-
"name": "version",
|
353
|
-
"type": "uint24"
|
354
|
-
},
|
355
|
-
{
|
356
|
-
"internalType": "address",
|
357
|
-
"name": "implementation",
|
358
|
-
"type": "address"
|
359
|
-
},
|
360
|
-
{
|
361
|
-
"internalType": "address",
|
362
|
-
"name": "activatedBy",
|
363
|
-
"type": "address"
|
364
|
-
},
|
365
|
-
{
|
366
|
-
"internalType": "Timestamp",
|
367
|
-
"name": "activatedAt",
|
368
|
-
"type": "uint40"
|
369
|
-
},
|
370
|
-
{
|
371
|
-
"internalType": "Blocknumber",
|
372
|
-
"name": "activatedIn",
|
373
|
-
"type": "uint32"
|
374
|
-
}
|
375
|
-
],
|
376
|
-
"internalType": "struct IVersionable.VersionInfo",
|
377
|
-
"name": "versionInfo",
|
378
|
-
"type": "tuple"
|
379
|
-
}
|
380
|
-
],
|
381
|
-
"stateMutability": "view",
|
588
|
+
"inputs": [],
|
589
|
+
"name": "linkToRegisteredNftId",
|
590
|
+
"outputs": [],
|
591
|
+
"stateMutability": "nonpayable",
|
382
592
|
"type": "function"
|
383
593
|
},
|
384
594
|
{
|
385
595
|
"inputs": [
|
386
596
|
{
|
387
597
|
"internalType": "address",
|
388
|
-
"name": "
|
389
|
-
"type": "address"
|
390
|
-
},
|
391
|
-
{
|
392
|
-
"internalType": "address",
|
393
|
-
"name": "activatedBy",
|
598
|
+
"name": "",
|
394
599
|
"type": "address"
|
395
|
-
},
|
396
|
-
{
|
397
|
-
"internalType": "bytes",
|
398
|
-
"name": "activationData",
|
399
|
-
"type": "bytes"
|
400
600
|
}
|
401
601
|
],
|
402
|
-
"name": "
|
602
|
+
"name": "setAuthority",
|
403
603
|
"outputs": [],
|
404
604
|
"stateMutability": "nonpayable",
|
405
605
|
"type": "function"
|
406
606
|
},
|
407
607
|
{
|
408
608
|
"inputs": [
|
409
|
-
{
|
410
|
-
"internalType": "Version",
|
411
|
-
"name": "version",
|
412
|
-
"type": "uint24"
|
413
|
-
}
|
414
|
-
],
|
415
|
-
"name": "isInitialized",
|
416
|
-
"outputs": [
|
417
609
|
{
|
418
610
|
"internalType": "bool",
|
419
|
-
"name": "",
|
611
|
+
"name": "locked",
|
420
612
|
"type": "bool"
|
421
613
|
}
|
422
614
|
],
|
423
|
-
"
|
424
|
-
"type": "function"
|
425
|
-
},
|
426
|
-
{
|
427
|
-
"inputs": [],
|
428
|
-
"name": "linkToRegisteredNftId",
|
615
|
+
"name": "setComponentLocked",
|
429
616
|
"outputs": [],
|
430
617
|
"stateMutability": "nonpayable",
|
431
618
|
"type": "function"
|
@@ -451,23 +638,13 @@
|
|
451
638
|
},
|
452
639
|
{
|
453
640
|
"inputs": [
|
454
|
-
{
|
455
|
-
"internalType": "address",
|
456
|
-
"name": "implementation",
|
457
|
-
"type": "address"
|
458
|
-
},
|
459
|
-
{
|
460
|
-
"internalType": "address",
|
461
|
-
"name": "activatedBy",
|
462
|
-
"type": "address"
|
463
|
-
},
|
464
641
|
{
|
465
642
|
"internalType": "bytes",
|
466
643
|
"name": "upgradeData",
|
467
644
|
"type": "bytes"
|
468
645
|
}
|
469
646
|
],
|
470
|
-
"name": "
|
647
|
+
"name": "upgradeVersionable",
|
471
648
|
"outputs": [],
|
472
649
|
"stateMutability": "nonpayable",
|
473
650
|
"type": "function"
|