@etherisc/gif-next 0.0.2-e1f23dc-329 → 0.0.2-e20063b-144
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +71 -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 +946 -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 +825 -231
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +638 -190
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1612 -656
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +321 -168
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +1002 -1278
- 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 +257 -261
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +501 -292
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +331 -98
- 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} +247 -180
- 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 +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1273 -215
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +428 -79
- 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 -241
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +82 -371
- 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 +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +649 -338
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +305 -92
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +268 -522
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +295 -114
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +244 -133
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +149 -230
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +257 -235
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +200 -335
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +298 -145
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -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 +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 +2 -2
- package/contracts/components/Component.sol +253 -0
- package/contracts/components/Distribution.sol +204 -79
- package/contracts/components/IComponent.sol +76 -0
- package/contracts/components/IDistributionComponent.sol +44 -17
- package/contracts/components/IPoolComponent.sol +88 -37
- package/contracts/components/IProductComponent.sol +10 -5
- package/contracts/components/Pool.sol +220 -160
- package/contracts/components/Product.sol +244 -157
- 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 +67 -19
- package/contracts/instance/IInstanceService.sol +46 -8
- package/contracts/instance/Instance.sol +151 -284
- package/contracts/instance/InstanceAccessManager.sol +414 -175
- package/contracts/instance/InstanceReader.sol +38 -36
- package/contracts/instance/InstanceService.sol +402 -122
- package/contracts/instance/InstanceServiceManager.sol +6 -9
- 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 -5
- 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 -20
- 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 +374 -31
- package/contracts/instance/service/DistributionServiceManager.sol +7 -10
- 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 +78 -20
- package/contracts/instance/service/IProductService.sol +3 -70
- package/contracts/instance/service/PolicyService.sol +541 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +216 -114
- package/contracts/instance/service/PoolServiceManager.sol +6 -9
- package/contracts/instance/service/ProductService.sol +105 -459
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/ChainNft.sol +9 -1
- package/contracts/registry/IRegistry.sol +39 -19
- package/contracts/registry/IRegistryService.sol +31 -13
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +243 -224
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +97 -173
- package/contracts/registry/RegistryServiceManager.sol +21 -39
- package/contracts/registry/ReleaseManager.sol +324 -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 +5 -4
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +66 -80
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +100 -25
- package/contracts/shared/Registerable.sol +16 -32
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +41 -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 -19
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +7 -2
- package/contracts/types/Timestamp.sol +18 -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/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
- package/contracts/components/BaseComponent.sol +0 -91
- package/contracts/components/IBaseComponent.sol +0 -25
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/AccessManagedSimple.sol +0 -115
- package/contracts/instance/AccessManagerSimple.sol +0 -692
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/base/ComponentServiceBase.sol +0 -134
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -7,70 +7,87 @@
|
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
10
|
+
"name": "authority",
|
11
11
|
"type": "address"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"internalType": "NftId",
|
15
|
-
"name": "nftId",
|
16
|
-
"type": "uint96"
|
17
12
|
}
|
18
13
|
],
|
19
|
-
"name": "
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
20
15
|
"type": "error"
|
21
16
|
},
|
22
17
|
{
|
23
18
|
"inputs": [
|
24
19
|
{
|
25
20
|
"internalType": "address",
|
26
|
-
"name": "
|
21
|
+
"name": "caller",
|
27
22
|
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
28
|
}
|
29
29
|
],
|
30
|
-
"name": "
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
31
|
"type": "error"
|
32
32
|
},
|
33
33
|
{
|
34
34
|
"inputs": [
|
35
35
|
{
|
36
36
|
"internalType": "address",
|
37
|
-
"name": "
|
37
|
+
"name": "caller",
|
38
38
|
"type": "address"
|
39
39
|
}
|
40
40
|
],
|
41
|
-
"name": "
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "NftId",
|
48
|
+
"name": "nftId",
|
49
|
+
"type": "uint96"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
42
53
|
"type": "error"
|
43
54
|
},
|
44
55
|
{
|
45
56
|
"inputs": [
|
46
57
|
{
|
47
58
|
"internalType": "address",
|
48
|
-
"name": "
|
59
|
+
"name": "contractAddress",
|
49
60
|
"type": "address"
|
50
61
|
}
|
51
62
|
],
|
52
|
-
"name": "
|
63
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
53
64
|
"type": "error"
|
54
65
|
},
|
55
66
|
{
|
56
67
|
"inputs": [],
|
57
|
-
"name": "
|
68
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
58
69
|
"type": "error"
|
59
70
|
},
|
60
71
|
{
|
61
72
|
"inputs": [
|
62
73
|
{
|
63
74
|
"internalType": "address",
|
64
|
-
"name": "
|
75
|
+
"name": "account",
|
65
76
|
"type": "address"
|
66
77
|
}
|
67
78
|
],
|
68
|
-
"name": "
|
79
|
+
"name": "ErrorNftOwnableNotOwner",
|
69
80
|
"type": "error"
|
70
81
|
},
|
71
82
|
{
|
72
|
-
"inputs": [
|
73
|
-
|
83
|
+
"inputs": [
|
84
|
+
{
|
85
|
+
"internalType": "address",
|
86
|
+
"name": "registryAddress",
|
87
|
+
"type": "address"
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"name": "ErrorNotRegistry",
|
74
91
|
"type": "error"
|
75
92
|
},
|
76
93
|
{
|
@@ -170,27 +187,66 @@
|
|
170
187
|
{
|
171
188
|
"anonymous": false,
|
172
189
|
"inputs": [
|
173
|
-
{
|
174
|
-
"indexed": false,
|
175
|
-
"internalType": "Version",
|
176
|
-
"name": "version",
|
177
|
-
"type": "uint24"
|
178
|
-
},
|
179
190
|
{
|
180
191
|
"indexed": false,
|
181
192
|
"internalType": "address",
|
182
|
-
"name": "
|
193
|
+
"name": "authority",
|
183
194
|
"type": "address"
|
184
|
-
}
|
195
|
+
}
|
196
|
+
],
|
197
|
+
"name": "AuthorityUpdated",
|
198
|
+
"type": "event"
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"inputs": [],
|
202
|
+
"name": "authority",
|
203
|
+
"outputs": [
|
185
204
|
{
|
186
|
-
"indexed": false,
|
187
205
|
"internalType": "address",
|
188
|
-
"name": "
|
206
|
+
"name": "",
|
189
207
|
"type": "address"
|
190
208
|
}
|
191
209
|
],
|
192
|
-
"
|
193
|
-
"type": "
|
210
|
+
"stateMutability": "view",
|
211
|
+
"type": "function"
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"inputs": [],
|
215
|
+
"name": "getDomain",
|
216
|
+
"outputs": [
|
217
|
+
{
|
218
|
+
"internalType": "ObjectType",
|
219
|
+
"name": "serviceDomain",
|
220
|
+
"type": "uint8"
|
221
|
+
}
|
222
|
+
],
|
223
|
+
"stateMutability": "pure",
|
224
|
+
"type": "function"
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"inputs": [],
|
228
|
+
"name": "getFunctionConfigs",
|
229
|
+
"outputs": [
|
230
|
+
{
|
231
|
+
"components": [
|
232
|
+
{
|
233
|
+
"internalType": "ObjectType",
|
234
|
+
"name": "serviceDomain",
|
235
|
+
"type": "uint8"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"internalType": "bytes4[]",
|
239
|
+
"name": "selectors",
|
240
|
+
"type": "bytes4[]"
|
241
|
+
}
|
242
|
+
],
|
243
|
+
"internalType": "struct IRegistryService.FunctionConfig[]",
|
244
|
+
"name": "config",
|
245
|
+
"type": "tuple[]"
|
246
|
+
}
|
247
|
+
],
|
248
|
+
"stateMutability": "pure",
|
249
|
+
"type": "function"
|
194
250
|
},
|
195
251
|
{
|
196
252
|
"inputs": [],
|
@@ -237,55 +293,11 @@
|
|
237
293
|
"internalType": "struct IRegistry.ObjectInfo",
|
238
294
|
"name": "",
|
239
295
|
"type": "tuple"
|
240
|
-
},
|
241
|
-
{
|
242
|
-
"internalType": "bytes",
|
243
|
-
"name": "data",
|
244
|
-
"type": "bytes"
|
245
296
|
}
|
246
297
|
],
|
247
298
|
"stateMutability": "view",
|
248
299
|
"type": "function"
|
249
300
|
},
|
250
|
-
{
|
251
|
-
"inputs": [],
|
252
|
-
"name": "getInitializedVersion",
|
253
|
-
"outputs": [
|
254
|
-
{
|
255
|
-
"internalType": "uint64",
|
256
|
-
"name": "",
|
257
|
-
"type": "uint64"
|
258
|
-
}
|
259
|
-
],
|
260
|
-
"stateMutability": "view",
|
261
|
-
"type": "function"
|
262
|
-
},
|
263
|
-
{
|
264
|
-
"inputs": [],
|
265
|
-
"name": "getMajorVersion",
|
266
|
-
"outputs": [
|
267
|
-
{
|
268
|
-
"internalType": "VersionPart",
|
269
|
-
"name": "majorVersion",
|
270
|
-
"type": "uint8"
|
271
|
-
}
|
272
|
-
],
|
273
|
-
"stateMutability": "view",
|
274
|
-
"type": "function"
|
275
|
-
},
|
276
|
-
{
|
277
|
-
"inputs": [],
|
278
|
-
"name": "getName",
|
279
|
-
"outputs": [
|
280
|
-
{
|
281
|
-
"internalType": "string",
|
282
|
-
"name": "name",
|
283
|
-
"type": "string"
|
284
|
-
}
|
285
|
-
],
|
286
|
-
"stateMutability": "pure",
|
287
|
-
"type": "function"
|
288
|
-
},
|
289
301
|
{
|
290
302
|
"inputs": [],
|
291
303
|
"name": "getNftId",
|
@@ -327,31 +339,12 @@
|
|
327
339
|
},
|
328
340
|
{
|
329
341
|
"inputs": [],
|
330
|
-
"name": "
|
342
|
+
"name": "getRegistryAddress",
|
331
343
|
"outputs": [
|
332
344
|
{
|
333
|
-
"internalType": "
|
345
|
+
"internalType": "address",
|
334
346
|
"name": "",
|
335
|
-
"type": "
|
336
|
-
}
|
337
|
-
],
|
338
|
-
"stateMutability": "pure",
|
339
|
-
"type": "function"
|
340
|
-
},
|
341
|
-
{
|
342
|
-
"inputs": [
|
343
|
-
{
|
344
|
-
"internalType": "uint256",
|
345
|
-
"name": "index",
|
346
|
-
"type": "uint256"
|
347
|
-
}
|
348
|
-
],
|
349
|
-
"name": "getVersion",
|
350
|
-
"outputs": [
|
351
|
-
{
|
352
|
-
"internalType": "Version",
|
353
|
-
"name": "version",
|
354
|
-
"type": "uint24"
|
347
|
+
"type": "address"
|
355
348
|
}
|
356
349
|
],
|
357
350
|
"stateMutability": "view",
|
@@ -359,70 +352,19 @@
|
|
359
352
|
},
|
360
353
|
{
|
361
354
|
"inputs": [],
|
362
|
-
"name": "
|
355
|
+
"name": "getVersion",
|
363
356
|
"outputs": [
|
364
|
-
{
|
365
|
-
"internalType": "uint256",
|
366
|
-
"name": "numberOfVersions",
|
367
|
-
"type": "uint256"
|
368
|
-
}
|
369
|
-
],
|
370
|
-
"stateMutability": "view",
|
371
|
-
"type": "function"
|
372
|
-
},
|
373
|
-
{
|
374
|
-
"inputs": [
|
375
357
|
{
|
376
358
|
"internalType": "Version",
|
377
|
-
"name": "
|
359
|
+
"name": "",
|
378
360
|
"type": "uint24"
|
379
361
|
}
|
380
362
|
],
|
381
|
-
"
|
382
|
-
"outputs": [
|
383
|
-
{
|
384
|
-
"components": [
|
385
|
-
{
|
386
|
-
"internalType": "Version",
|
387
|
-
"name": "version",
|
388
|
-
"type": "uint24"
|
389
|
-
},
|
390
|
-
{
|
391
|
-
"internalType": "address",
|
392
|
-
"name": "implementation",
|
393
|
-
"type": "address"
|
394
|
-
},
|
395
|
-
{
|
396
|
-
"internalType": "address",
|
397
|
-
"name": "activatedBy",
|
398
|
-
"type": "address"
|
399
|
-
},
|
400
|
-
{
|
401
|
-
"internalType": "Timestamp",
|
402
|
-
"name": "activatedAt",
|
403
|
-
"type": "uint40"
|
404
|
-
},
|
405
|
-
{
|
406
|
-
"internalType": "Blocknumber",
|
407
|
-
"name": "activatedIn",
|
408
|
-
"type": "uint32"
|
409
|
-
}
|
410
|
-
],
|
411
|
-
"internalType": "struct IVersionable.VersionInfo",
|
412
|
-
"name": "versionInfo",
|
413
|
-
"type": "tuple"
|
414
|
-
}
|
415
|
-
],
|
416
|
-
"stateMutability": "view",
|
363
|
+
"stateMutability": "pure",
|
417
364
|
"type": "function"
|
418
365
|
},
|
419
366
|
{
|
420
367
|
"inputs": [
|
421
|
-
{
|
422
|
-
"internalType": "address",
|
423
|
-
"name": "implementation",
|
424
|
-
"type": "address"
|
425
|
-
},
|
426
368
|
{
|
427
369
|
"internalType": "address",
|
428
370
|
"name": "activatedBy",
|
@@ -434,25 +376,19 @@
|
|
434
376
|
"type": "bytes"
|
435
377
|
}
|
436
378
|
],
|
437
|
-
"name": "
|
379
|
+
"name": "initializeVersionable",
|
438
380
|
"outputs": [],
|
439
381
|
"stateMutability": "nonpayable",
|
440
382
|
"type": "function"
|
441
383
|
},
|
442
384
|
{
|
443
|
-
"inputs": [
|
444
|
-
|
445
|
-
"internalType": "Version",
|
446
|
-
"name": "version",
|
447
|
-
"type": "uint24"
|
448
|
-
}
|
449
|
-
],
|
450
|
-
"name": "isInitialized",
|
385
|
+
"inputs": [],
|
386
|
+
"name": "isConsumingScheduledOp",
|
451
387
|
"outputs": [
|
452
388
|
{
|
453
|
-
"internalType": "
|
389
|
+
"internalType": "bytes4",
|
454
390
|
"name": "",
|
455
|
-
"type": "
|
391
|
+
"type": "bytes4"
|
456
392
|
}
|
457
393
|
],
|
458
394
|
"stateMutability": "view",
|
@@ -524,7 +460,7 @@
|
|
524
460
|
{
|
525
461
|
"inputs": [
|
526
462
|
{
|
527
|
-
"internalType": "contract
|
463
|
+
"internalType": "contract IComponent",
|
528
464
|
"name": "distribution",
|
529
465
|
"type": "address"
|
530
466
|
},
|
@@ -577,11 +513,6 @@
|
|
577
513
|
"internalType": "struct IRegistry.ObjectInfo",
|
578
514
|
"name": "info",
|
579
515
|
"type": "tuple"
|
580
|
-
},
|
581
|
-
{
|
582
|
-
"internalType": "bytes",
|
583
|
-
"name": "data",
|
584
|
-
"type": "bytes"
|
585
516
|
}
|
586
517
|
],
|
587
518
|
"stateMutability": "nonpayable",
|
@@ -589,14 +520,6 @@
|
|
589
520
|
},
|
590
521
|
{
|
591
522
|
"inputs": [
|
592
|
-
{
|
593
|
-
"internalType": "contract IRegisterable",
|
594
|
-
"name": "instance",
|
595
|
-
"type": "address"
|
596
|
-
}
|
597
|
-
],
|
598
|
-
"name": "registerInstance",
|
599
|
-
"outputs": [
|
600
523
|
{
|
601
524
|
"components": [
|
602
525
|
{
|
@@ -638,11 +561,14 @@
|
|
638
561
|
"internalType": "struct IRegistry.ObjectInfo",
|
639
562
|
"name": "info",
|
640
563
|
"type": "tuple"
|
641
|
-
}
|
564
|
+
}
|
565
|
+
],
|
566
|
+
"name": "registerDistributor",
|
567
|
+
"outputs": [
|
642
568
|
{
|
643
|
-
"internalType": "
|
644
|
-
"name": "
|
645
|
-
"type": "
|
569
|
+
"internalType": "NftId",
|
570
|
+
"name": "nftId",
|
571
|
+
"type": "uint96"
|
646
572
|
}
|
647
573
|
],
|
648
574
|
"stateMutability": "nonpayable",
|
@@ -650,6 +576,19 @@
|
|
650
576
|
},
|
651
577
|
{
|
652
578
|
"inputs": [
|
579
|
+
{
|
580
|
+
"internalType": "contract IRegisterable",
|
581
|
+
"name": "instance",
|
582
|
+
"type": "address"
|
583
|
+
},
|
584
|
+
{
|
585
|
+
"internalType": "address",
|
586
|
+
"name": "owner",
|
587
|
+
"type": "address"
|
588
|
+
}
|
589
|
+
],
|
590
|
+
"name": "registerInstance",
|
591
|
+
"outputs": [
|
653
592
|
{
|
654
593
|
"components": [
|
655
594
|
{
|
@@ -693,32 +632,11 @@
|
|
693
632
|
"type": "tuple"
|
694
633
|
}
|
695
634
|
],
|
696
|
-
"name": "registerPolicy",
|
697
|
-
"outputs": [
|
698
|
-
{
|
699
|
-
"internalType": "NftId",
|
700
|
-
"name": "nftId",
|
701
|
-
"type": "uint96"
|
702
|
-
}
|
703
|
-
],
|
704
635
|
"stateMutability": "nonpayable",
|
705
636
|
"type": "function"
|
706
637
|
},
|
707
638
|
{
|
708
639
|
"inputs": [
|
709
|
-
{
|
710
|
-
"internalType": "contract IBaseComponent",
|
711
|
-
"name": "pool",
|
712
|
-
"type": "address"
|
713
|
-
},
|
714
|
-
{
|
715
|
-
"internalType": "address",
|
716
|
-
"name": "owner",
|
717
|
-
"type": "address"
|
718
|
-
}
|
719
|
-
],
|
720
|
-
"name": "registerPool",
|
721
|
-
"outputs": [
|
722
640
|
{
|
723
641
|
"components": [
|
724
642
|
{
|
@@ -760,11 +678,14 @@
|
|
760
678
|
"internalType": "struct IRegistry.ObjectInfo",
|
761
679
|
"name": "info",
|
762
680
|
"type": "tuple"
|
763
|
-
}
|
681
|
+
}
|
682
|
+
],
|
683
|
+
"name": "registerPolicy",
|
684
|
+
"outputs": [
|
764
685
|
{
|
765
|
-
"internalType": "
|
766
|
-
"name": "
|
767
|
-
"type": "
|
686
|
+
"internalType": "NftId",
|
687
|
+
"name": "nftId",
|
688
|
+
"type": "uint96"
|
768
689
|
}
|
769
690
|
],
|
770
691
|
"stateMutability": "nonpayable",
|
@@ -773,8 +694,8 @@
|
|
773
694
|
{
|
774
695
|
"inputs": [
|
775
696
|
{
|
776
|
-
"internalType": "contract
|
777
|
-
"name": "
|
697
|
+
"internalType": "contract IComponent",
|
698
|
+
"name": "pool",
|
778
699
|
"type": "address"
|
779
700
|
},
|
780
701
|
{
|
@@ -783,7 +704,7 @@
|
|
783
704
|
"type": "address"
|
784
705
|
}
|
785
706
|
],
|
786
|
-
"name": "
|
707
|
+
"name": "registerPool",
|
787
708
|
"outputs": [
|
788
709
|
{
|
789
710
|
"components": [
|
@@ -826,11 +747,6 @@
|
|
826
747
|
"internalType": "struct IRegistry.ObjectInfo",
|
827
748
|
"name": "info",
|
828
749
|
"type": "tuple"
|
829
|
-
},
|
830
|
-
{
|
831
|
-
"internalType": "bytes",
|
832
|
-
"name": "data",
|
833
|
-
"type": "bytes"
|
834
750
|
}
|
835
751
|
],
|
836
752
|
"stateMutability": "nonpayable",
|
@@ -839,12 +755,17 @@
|
|
839
755
|
{
|
840
756
|
"inputs": [
|
841
757
|
{
|
842
|
-
"internalType": "contract
|
843
|
-
"name": "
|
758
|
+
"internalType": "contract IComponent",
|
759
|
+
"name": "product",
|
760
|
+
"type": "address"
|
761
|
+
},
|
762
|
+
{
|
763
|
+
"internalType": "address",
|
764
|
+
"name": "owner",
|
844
765
|
"type": "address"
|
845
766
|
}
|
846
767
|
],
|
847
|
-
"name": "
|
768
|
+
"name": "registerProduct",
|
848
769
|
"outputs": [
|
849
770
|
{
|
850
771
|
"components": [
|
@@ -887,13 +808,21 @@
|
|
887
808
|
"internalType": "struct IRegistry.ObjectInfo",
|
888
809
|
"name": "info",
|
889
810
|
"type": "tuple"
|
890
|
-
}
|
811
|
+
}
|
812
|
+
],
|
813
|
+
"stateMutability": "nonpayable",
|
814
|
+
"type": "function"
|
815
|
+
},
|
816
|
+
{
|
817
|
+
"inputs": [
|
891
818
|
{
|
892
|
-
"internalType": "
|
893
|
-
"name": "
|
894
|
-
"type": "
|
819
|
+
"internalType": "address",
|
820
|
+
"name": "",
|
821
|
+
"type": "address"
|
895
822
|
}
|
896
823
|
],
|
824
|
+
"name": "setAuthority",
|
825
|
+
"outputs": [],
|
897
826
|
"stateMutability": "nonpayable",
|
898
827
|
"type": "function"
|
899
828
|
},
|
@@ -918,23 +847,13 @@
|
|
918
847
|
},
|
919
848
|
{
|
920
849
|
"inputs": [
|
921
|
-
{
|
922
|
-
"internalType": "address",
|
923
|
-
"name": "implementation",
|
924
|
-
"type": "address"
|
925
|
-
},
|
926
|
-
{
|
927
|
-
"internalType": "address",
|
928
|
-
"name": "activatedBy",
|
929
|
-
"type": "address"
|
930
|
-
},
|
931
850
|
{
|
932
851
|
"internalType": "bytes",
|
933
852
|
"name": "upgradeData",
|
934
853
|
"type": "bytes"
|
935
854
|
}
|
936
855
|
],
|
937
|
-
"name": "
|
856
|
+
"name": "upgradeVersionable",
|
938
857
|
"outputs": [],
|
939
858
|
"stateMutability": "nonpayable",
|
940
859
|
"type": "function"
|
@@ -3,6 +3,24 @@
|
|
3
3
|
"contractName": "ITransferInterceptor",
|
4
4
|
"sourceName": "contracts/registry/ITransferInterceptor.sol",
|
5
5
|
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "to",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "uint256",
|
15
|
+
"name": "tokenId",
|
16
|
+
"type": "uint256"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"name": "nftMint",
|
20
|
+
"outputs": [],
|
21
|
+
"stateMutability": "nonpayable",
|
22
|
+
"type": "function"
|
23
|
+
},
|
6
24
|
{
|
7
25
|
"inputs": [
|
8
26
|
{
|